Functions/Get-MSPCompleteUserExtendedPropertyList.Tests.ps1

describe "BitTitan.Runbooks.MSPComplete/Get-MSPCompleteUserExtendedPropertyList" -Tag "module", "unit" {

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

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

        # Verify the output
        $output | Should Be @(
            "AddressLine1",
            "AddressLine2",
            "City",
            "StateOrProvince",
            "PostalOrZipCode",
            "CountryOrRegion",
            "MobilePhoneNumber",
            "TelephoneNumber",
            "CompanyName",
            "Department",
            "JobTitle",
            "Salutation",
            "ManagerEmailAddress",
            "Fax",
            "Office",
            "OnPremisesSecurityIdentifier",
            "DistinguishedName",
            "GSuiteUserID"
        )
    }
}