public void TestGetUserName() { _genericIdentity.AddClaim(new Claim(IdentityConstants.NameType, "Borche Ivanov")); var name = _genericIdentity.GetName(); name.Should().Be("Borche Ivanov"); }
public void TestGetUserName() { _genericIdentity.AddClaim(new Claim(IdentityConstants.NameType, "Borche Ivanov")); var name = _genericIdentity.GetName(); name.Should().Be("Borche Ivanov"); }