@Test
public void testCompressShouldSetNameSpaceAwareTrue() throws ParserConfigurationException, SAXException {

    //GIVEN
    given(saxParserFactory.newSAXParser()).willReturn(saxParser);
    //WHEN
    underTest.compress(inputStream);
    //THEN
    verify(saxParserFactory).setNamespaceAware(true);
}