@Test
public void testProcessShouldDoNothingWhenGzipCompressionIsNotNeeded() {

    //GIVEN
    given(req.getHeader(HEADER_KEY_ACCEPT_ENCODING)).willReturn("nothing");
    //WHEN
    underTest.process(req, resp, responseBody);
    //THEN
    verify(resp, times(0)).addHeader(HEADER_KEY_CONTENT_ENCODING, HEADER_VALUE_GZIP);
    verify(gzipCompressor, times(0)).compress(any(ByteArrayInputStream.class));
}