v3/tests/Model/Role.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 'Role' { Context 'Role' { It 'Initialize-Role' { # a simple test to create an object #$NewObject = Initialize-Role -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -AccessProfiles "TEST_VALUE" -Membership "TEST_VALUE" -LegacyMembershipInfo "TEST_VALUE" -Enabled "TEST_VALUE" -Requestable "TEST_VALUE" -AccessRequestConfig "TEST_VALUE" -RevocationRequestConfig "TEST_VALUE" -Segments "TEST_VALUE" #$NewObject | Should -BeOfType Role #$NewObject.property | Should -Be 0 } } } |