Authentication.Claims.Tests.AuthenticatedUserContextTests.UserNameIsRetrieved C# (CSharp) 메소드

UserNameIsRetrieved() 개인적인 메소드

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

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