@Test
public void testProcessShouldCallDecompressWhenFIDecompressionNeeded() throws ApplicationException {

    //GIVEN
    given(entity.getHeader(CONTENT_TYPE)).willReturn(FAST_INFO_SET);
    given(entity.getInputStream()).willReturn(inputStream);
    given(fastinfosetDecompressor.decompress(inputStream)).willReturn(body);
    //WHEN
    underTest.process(entity);
    //THEN
    verify(fastinfosetDecompressor).decompress(inputStream);
}