using Shouldly;
using Xunit;
using ZB.MOM.WW.OtOpcUa.Admin.Services;

namespace ZB.MOM.WW.OtOpcUa.Admin.Tests;

[Trait("Category", "Unit")]
public sealed class AdminRolesTests
{
    [Fact]
    public void All_contains_three_canonical_roles()
    {
        AdminRoles.All.Count.ShouldBe(3);
        AdminRoles.All.ShouldContain(AdminRoles.ConfigViewer);
        AdminRoles.All.ShouldContain(AdminRoles.ConfigEditor);
        AdminRoles.All.ShouldContain(AdminRoles.FleetAdmin);
    }
}
