@Test
public void testGetSubject() {

    Auth0Jwt jwt;
    jwt  = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().claim("null", "null").signWith(secretKey).compact()));
    assertNull(jwt.getSubject());
    jwt = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().setSubject("github|1234567").signWith(secretKey).compact()));
    assertEquals(jwt.getSubject(), "user.github-1234567");
    jwt = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().setSubject("GITHUB|1234567").signWith(secretKey).compact()));
    assertEquals(jwt.getSubject(), "user.github-1234567");
}