2015-11-11 16:23:48 +01:00
|
|
|
Describe "Get-FormatData" {
|
|
|
|
|
|
|
|
Context "Check return type of Get-FormatData" {
|
2016-03-04 23:52:27 +01:00
|
|
|
|
|
|
|
It "Should return an object[] as the return type" {
|
|
|
|
(Get-FormatData).GetType() | Should be System.Object[]
|
2015-11-11 16:23:48 +01:00
|
|
|
}
|
|
|
|
|
2016-03-04 23:52:27 +01:00
|
|
|
It "Should return a System.Object[] with a count greater than 0" {
|
|
|
|
(Get-formatData).Count | Should BeGreaterThan 0
|
2015-11-11 16:23:48 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|