Functions/Get-MSPCompleteUserPropertyList.Tests.ps1

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

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

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

        # Verify the output
        $output | Should Be @(
            "FirstName",
            "LastName",
            "DisplayName",
            "FullName",
            "PrimaryEmailAddress",
            "UserPrincipalName"
        )
    }
}