private List<HttpHeaders> getHeadersList() {
    List<HttpHeaders> headersList = new ArrayList<HttpHeaders>();

    // contains one logged request header
    HttpHeaders headers = new DefaultHttpHeaders();
    headers.add(HttpHeaderNames.CONTENT_TYPE, "content-type1");
    headersList.add(headers);

    // contains one logged and not logged header
    headers = new DefaultHttpHeaders();
    headers.add(NOT_LOGGED_HEADER_KEY + "1", "headerValue1");
    headers.add(HttpHeaderNames.CONTENT_TYPE, "content-type2");
    headersList.add(headers);

    // contains all not logged headers
    headers = new DefaultHttpHeaders();
    headers.add(NOT_LOGGED_HEADER_KEY + "1", "headerValue1");
    headers.add(NOT_LOGGED_HEADER_KEY + "2", "headerValue2");
    headersList.add(headers);

    // contains all the logged headers
    headers = new DefaultHttpHeaders();
    headers.add(HttpHeaderNames.HOST, "host1");
    headers.add(RestUtils.Headers.CONTENT_TYPE, "content-type3");
    headers.add(EchoMethodHandler.RESPONSE_HEADER_KEY_1, "responseHeaderValue1");
    headers.add(EchoMethodHandler.RESPONSE_HEADER_KEY_2, "responseHeaderValue1");
    headersList.add(headers);
    return headersList;
  }
Prepares a list of HttpHeaders for test purposes
@return
ambry-rest/src/test/java/com/github/ambry/rest/PublicAccessLogHandlerTest.java