public void GetUserIdFromNotClaimIdentityFailedTest() { int userId = 1434; IIdentity userIdentity2 = new GenericIdentity(CustomClaimTypes.UserId, userId.ToString()); int claimUserId2 = userIdentity2.GetClaims().Id; Assert.AreEqual(0, claimUserId2); }