PowerShell/test/powershell/Get-FormatData.Tests.ps1
2016-03-04 14:52:27 -08:00

14 lines
331 B
PowerShell

Describe "Get-FormatData" {
Context "Check return type of Get-FormatData" {
It "Should return an object[] as the return type" {
(Get-FormatData).GetType() | Should be System.Object[]
}
It "Should return a System.Object[] with a count greater than 0" {
(Get-formatData).Count | Should BeGreaterThan 0
}
}
}