Authentication.Claims.Tests.AuthenticatedUserContextTests.UserNameIsRetrieved C# (CSharp) Method

UserNameIsRetrieved() private method

private UserNameIsRetrieved ( ) : void
return void
        public void UserNameIsRetrieved()
        {
            const string name = "user name";
            claimsIdentity.AddClaim(new Claim(ClaimType.Name, name));

            Assert.AreEqual(name, sut.UserName);
        }