@Test
public void setType_success() throws Exception {

  ToBeSignedJwt token = new ToBeSignedJwt.Builder().setType("JWT").build();
  assertThat(token.getHeader(JwtNames.HEADER_TYPE)).isEqualTo("JWT");
}