Add Unit Test for Get-Host

This commit is contained in:
TingLiu6
2016-04-20 02:16:36 -07:00
committed by JumpingYang001
parent 92ac20f83b
commit 717608bb69
+8
View File
@@ -1,3 +1,11 @@
Describe "Get-Host DRT Unit Tests" -Tags DRT{
It "Should works proper with get-host" {
$results = Get-Host
$results | Should Be $Host
$results.GetType().Name | Should Be InternalHost
}
}
Describe "Get-Host" {
It "Should return a type of InternalHost for Get-Host cmdlet" {