@Test
public void testHeaders() {

    final HttpHeaders headers = ApiHttpUtils.getHeaders(TOKEN_VALUE);
    final String token64 = new String(Base64.encodeBase64((TOKEN_VALUE + ":").getBytes()));
    assertEquals(Collections.singletonList(MediaType.APPLICATION_JSON), headers.getAccept());
    assertEquals("Basic " + token64, headers.get("Authorization").get(0));
}