public void GenerateLoginToken_HasPassedClaims() { // Act var token = Handler.Handle(new GenerateLoginTokenQuery(Claims), CancellationToken.None).Result; // Assert Assert.Contains(Claims.First().Value, new JwtSecurityToken(token).Claims.First(claim => claim.Value == Claims.First().Value).Value); }