SecurityRule.Tests.ps1

# Pull In Mocking Support
. "$PSScriptRoot/HttpPipelineMocking.ps1"
 Describe -Verbose:$true  "New-Security-Rule" {
     It "Should create a New-Security-Rule" {
        
        $userRef = New-UserReferenceObject `
            -Uuid "00000000-0000-0000-0000-000000000000" 

        $projectRef = New-ProjectReferenceObject `
            -Uuid "dfae8b2b-7c86-4955-8509-db2d8aa305c8"

        $metadata = New-NetworkSecurityRuleMetadataObject `
            -ProjectReferenceUuid $userRef.Uuid `
            -UserReferenceUuid $projectRef.Uuid 
        

        $intentInput = New-NetworkSecurityRuleIntentInputObject `
            -CategoryFilterParams  $categories `
            -CategoryFilterParams1 $categories `
            -CategoryFilterParams2 $categories `
            -CategoryFilterParams3 $categories `
            -Metadata $metadata `
            -NetworkSecurityRuleName "test"
        
        $metadata = New-NetworkSecurityRuleMetadataObject

         $securityRule = New-SecurityRule `
            -Body $intentInput  

         New-SecurityRule `
            -Body <INetworkSecurityRuleIntentInput> `
            -Categories <IDictionary`2> `
            -OwnerReferenceName <String> `
            -OwnerReferenceUuid <String> `
            -ProjectReferenceName <String> `
            -ProjectReferenceUuid <String> `
            -Description <String> `
            -Name <String> `
            -Action <String> `
            -InboundAllowList <INetworkRule[]> `
            -OutboundAllowList <INetworkRule[]> `
            -TargetGroup <ITargetGroup>
        


     }
 }