Functions/Get-ExchangeOnlineContactPropertyList.Tests.ps1

describe "BitTitan.Runbooks.ExchangeOnline/Get-ExchangeOnlineContactPropertyList" -Tag "module", "unit" {

    # Import the function to test
    . "$($PSScriptRoot)\Get-ExchangeOnlineContactPropertyList.ps1"

    it "returns the list of properties" {
        # Call the function
        $output = Get-ExchangeOnlineContactPropertyList

        # Verify the output
        $output | Should Be @(
            "FirstName",
            "LastName",
            "Company",
            "Phone",
            "MobilePhone",
            "Title",
            "WebPage",
            "Fax",
            "StreetAddress",
            "City",
            "StateOrProvince",
            "PostalCode",
            "CountryOrRegion"
        )
    }
}