@Test
public void responseDeleteAbsentHeaders() {

    List<String> ignoredHeaders = Arrays.asList("simpleHeader", "host", "someOtherHeader");
    logMaskerService.execute(POST_TYPE, false, false, true, ignoredHeaders);
    RequestResponseParser response = TraceContextHolder.getInstance().getActualTrace().getResponse();
    assertNotNull(response.getBody());
    assertNotNull(response.getUri());
    assertNotNull(response.getHeaders());
    assertNull(response.getHeaders().get("simpleHeader"));
    assertNull(response.getHeaders().get("host"));
    assertNull(response.getHeaders().get("someOtherHeader"));
}