using System.Security.Claims;
using ZB.MOM.WW.Auth.AspNetCore;

namespace ZB.MOM.WW.Auth.AspNetCore.Tests;

public class ZbClaimTypesTests
{
    [Fact]
    public void Name_AliasesClaimTypesName()
    {
        Assert.Equal(ClaimTypes.Name, ZbClaimTypes.Name);
    }

    [Fact]
    public void Role_AliasesClaimTypesRole()
    {
        Assert.Equal(ClaimTypes.Role, ZbClaimTypes.Role);
    }

    [Fact]
    public void DisplayName_HasExpectedLiteralValue()
    {
        Assert.Equal("zb:displayname", ZbClaimTypes.DisplayName);
    }

    [Fact]
    public void Username_HasExpectedLiteralValue()
    {
        Assert.Equal("zb:username", ZbClaimTypes.Username);
    }

    [Fact]
    public void ScopeId_HasExpectedLiteralValue()
    {
        Assert.Equal("zb:scopeid", ZbClaimTypes.ScopeId);
    }
}
