コード例 #1
0
 public void GuidIsEmptyForUserWithNoNameIdentifier()
 {
     var user = new ClaimsPrincipal(new ClaimsIdentity());
     Assert.AreEqual(Guid.Empty, user.Id());
 }