@Test public void noKeyId_success() throws Exception { ToBeSignedJwt token = new ToBeSignedJwt.Builder().build(); assertThat(token.getHeader(JwtNames.HEADER_KEY_ID)).isNull(); }
String getHeader(String name) { try { return header.getString(name); } catch (JSONException ex) { return null; } }
ToBeSignedJwt { String getHeader(String name) { try { return header.getString(name); } catch (JSONException ex) { return null; } } }
ToBeSignedJwt { String getHeader(String name) { try { return header.getString(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder); }
ToBeSignedJwt { String getHeader(String name) { try { return header.getString(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);  }
ToBeSignedJwt { String getHeader(String name) { try { return header.getString(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);   }