v3/tests/Model/SodPolicy.Tests.ps1
# # IdentityNow V3 API # Use these APIs to interact with the IdentityNow platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. # Version: 3.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # Describe -tag 'PSSailpoint' -name 'SodPolicy' { Context 'SodPolicy' { It 'Initialize-SodPolicy' { # a simple test to create an object #$NewObject = Initialize-SodPolicy -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -OwnerRef "TEST_VALUE" -ExternalPolicyReference "TEST_VALUE" -PolicyQuery "TEST_VALUE" -CompensatingControls "TEST_VALUE" -CorrectionAdvice "TEST_VALUE" -State "TEST_VALUE" -Tags "TEST_VALUE" -CreatorId "TEST_VALUE" -ModifierId "TEST_VALUE" -ViolationOwnerAssignmentConfig "TEST_VALUE" -Scheduled "TEST_VALUE" -Type "TEST_VALUE" -ConflictingAccessCriteria "TEST_VALUE" #$NewObject | Should -BeOfType SodPolicy #$NewObject.property | Should -Be 0 } } } |