### Question:
ConstantPayloadGenerator implements PayloadGenerator, Configurable { @Override public Map<String, String> getRequestHeaders() { return requestHeaders; }  @Override void configure(Map<String, ?> props); @Override boolean update(Request request, Response response); @Override String getRequestBody(); @Override Map<String, String> getRequestParameters(); @Override Map<String, String> getRequestHeaders(); @Override Map<String, Object> getOffsets(); @Override void setOffsets(Map<String, Object> offsets);  }### Answer:
@Test public void testGetRequestHeaders() { generator.configure(CONFIG_PROPS); assertThat(generator.getRequestHeaders(), allOf( hasEntry("Content-Type", "application/json"), hasEntry("Accept", "application/json"))); }