William Cheng a7e92786df
[PowerShell] add more tests to powershell client (#12057)
* add more tests to powershell client

* update spec

* update method name

* add new file
2022-04-06 10:24:32 +08:00

18 lines
980 B
PowerShell

#
# OpenAPI Petstore
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \
# Version: 1.0.0
# Generated by OpenAPI Generator: https://openapi-generator.tech
#
Describe -tag 'PSPetstore' -name 'PSNullableClass' {
Context 'PSNullableClass' {
It 'Initialize-PSNullableClass' {
# a simple test to create an object
#$NewObject = Initialize-PSNullableClass -IntegerProp "TEST_VALUE" -NumberProp "TEST_VALUE" -BooleanProp "TEST_VALUE" -StringProp "TEST_VALUE" -DateProp "TEST_VALUE" -DatetimeProp "TEST_VALUE" -ArrayNullableProp "TEST_VALUE" -ArrayAndItemsNullableProp "TEST_VALUE" -ArrayItemsNullable "TEST_VALUE" -ObjectNullableProp "TEST_VALUE" -ObjectAndItemsNullableProp "TEST_VALUE" -ObjectItemsNullable "TEST_VALUE"
#$NewObject | Should -BeOfType NullableClass
#$NewObject.property | Should -Be 0
}
}
}