Functions/Get-ExchangeOnlineMailContactPropertyList.Tests.ps1
describe "BitTitan.Runbooks.ExchangeOnline/Get-ExchangeOnlineMailContactPropertyList" -Tag "module", "unit" { # Import the function to test . "$($PSScriptRoot)\Get-ExchangeOnlineMailContactPropertyList.ps1" it "returns the list of properties" { # Call the function $output = Get-ExchangeOnlineMailContactPropertyList # Verify the output $output | Should Be @( "HiddenFromAddressListsEnabled" ) } } |