@Test
public void testGenerateResponseShouldReturnResponse() throws SaxonApiException, SAXException {

    //GIVEN
    byte[] response = new byte[1];
    given(transformer.transform(xslInputStream, requestInputStream, templateInputStream)).willReturn(response);
    //WHEN
    byte[] actual = underTest.generateResponse(requestXml, xsl, templateXml);
    //THEN
    assertEquals(actual, response);
}