@Test
public void testCompressShouldCallParse() throws ParserConfigurationException, SAXException, IOException {

    //GIVEN
    given(saxParserFactory.newSAXParser()).willReturn(saxParser);
    //WHEN
    underTest.compress(inputStream);
    //THEN
    verify(saxParser).parse(inputStream, saxDocumentSerializer);
}