public void GuidIsEmptyForUserWithNoNameIdentifier() { var user = new ClaimsPrincipal(new ClaimsIdentity()); Assert.AreEqual(Guid.Empty, user.Id()); }