diff --git a/Tests/integration/System.Tests.ps1 b/Tests/integration/System.Tests.ps1 index 3be0282..3ec3fb9 100644 --- a/Tests/integration/System.Tests.ps1 +++ b/Tests/integration/System.Tests.ps1 @@ -81,4 +81,20 @@ Describe "Get System Status" { } } +Describe "Get System Status Switch" { + It "Get System Status SwitchDoes not throw an error" { + { + Get-ArubaSWSystemStatusSwitch + } | Should Not Throw + } + + It "Get System Status Switch" { + $SYSTEM_STATUS_SWITCH = Get-ArubaSWSystemStatusSwitch + $SYSTEM_STATUS_SWITCH.switch_type | Should not be $NULL + $SYSTEM_STATUS_SWITCH.product_name | should not be $NULL + $SYSTEM_STATUS_SWITCH.product_number | should not be $NULL + $SYSTEM_STATUS_SWITCH.hardware_info | should not be $NULL + $SYSTEM_STATUS_SWITCH.blades | should not be $NULL + } +} Disconnect-ArubaSW -noconfirm \ No newline at end of file