public void UserNameIsRetrieved() { const string name = "user name"; claimsIdentity.AddClaim(new Claim(ClaimType.Name, name)); Assert.AreEqual(name, sut.UserName); }