2016-03-18 06:17:42 +01:00
|
|
|
Describe "Get-Process" {
|
2016-04-25 23:41:17 +02:00
|
|
|
# These tests are no good, please replace!
|
|
|
|
It "Should return a type of Object[] for Get-Process cmdlet" -Pending:$IsOSX {
|
|
|
|
(Get-Process).GetType().BaseType | Should Be 'array'
|
|
|
|
(Get-Process).GetType().Name | Should Be Object[]
|
2016-03-18 06:17:42 +01:00
|
|
|
}
|
|
|
|
|
2016-04-14 19:05:51 +02:00
|
|
|
It "Should have not empty Name flags set for Get-Process object" -Pending:$IsOSX {
|
2016-04-25 23:41:17 +02:00
|
|
|
Get-Process | foreach-object { $_.Name | Should Not BeNullOrEmpty }
|
2016-03-18 06:17:42 +01:00
|
|
|
}
|
|
|
|
}
|