@Test public void createWithoutAuthorizationHeader_containsDefaultHeaders() { HttpHeaders headers = HttpHeadersFactory.createWithoutAuthorizationHeader(); assertThat(headers.getHeaders()).hasSize(2); assertThat(headers.getHeaders()).containsExactlyInAnyOrder(ACCEPT_JSON_HEADER, CONTENT_TYPE_URL_ENCODED); }
public static HttpHeaders createWithoutAuthorizationHeader() { return createFromHeaders(createDefaultHeaders()); }
HttpHeadersFactory { public static HttpHeaders createWithoutAuthorizationHeader() { return createFromHeaders(createDefaultHeaders()); } }
HttpHeadersFactory { public static HttpHeaders createWithoutAuthorizationHeader() { return createFromHeaders(createDefaultHeaders()); } private  HttpHeadersFactory(); }
HttpHeadersFactory { public static HttpHeaders createWithoutAuthorizationHeader() { return createFromHeaders(createDefaultHeaders()); } private  HttpHeadersFactory(); static HttpHeaders createWithAuthorizationBearerHeader(String token); static HttpHeaders createWithoutAuthorizationHeader(); }
HttpHeadersFactory { public static HttpHeaders createWithoutAuthorizationHeader() { return createFromHeaders(createDefaultHeaders()); } private  HttpHeadersFactory(); static HttpHeaders createWithAuthorizationBearerHeader(String token); static HttpHeaders createWithoutAuthorizationHeader();  }