@Test
public void testCompileXslShouldReturnXsltExecutable() throws SaxonApiException {

    //GIVEN
    given(processor.newXsltCompiler()).willReturn(xsltCompiler);
    given(streamSourceFactory.createStreamSource(inputStream)).willReturn(source);
    given(xsltCompiler.compile(source)).willReturn(xsltExecutable);
    //WHEN
    XsltExecutable actual = underTest.compileXsl(inputStream, processor);
    //THEN
    assertEquals(actual, xsltExecutable);
}