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

AccountNameIsRetrieved() private method

private AccountNameIsRetrieved ( ) : void
return void
        public void AccountNameIsRetrieved()
        {
            const string name = "account name";
            claimsIdentity.AddClaim(new Claim(ClaimType.AccountName, name));

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