@Test public void addClaim_long_success() throws Exception { ToBeSignedJwt token = new ToBeSignedJwt.Builder().addClaim("claim", 1L).build(); assertThat(token.getClaim("claim")).isEqualTo(1L); }
Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder); }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);  }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);   }