@Test
public void testVerify() throws Exception {

    JWTVerifier.Verification resp = verifier.verify(token);
    assertEquals(resp.getIssuer(), "testing issuer");
    assertEquals(resp.getIdentity(), "Mr Somebody");
}