@Test
public void testGetOutputShouldReturnOutput() {

    //GIVEN
    given(serializerFactory.createSerializer()).willReturn(serializer);
    given(byteArrayOutputStreamFactory.createByteArrayOutputStream()).willReturn(byteArrayOutputStream);
    //WHEN
    ByteArrayOutputStream actual = underTest.getOutput(xsltTransformer);
    //THEN
    assertEquals(actual, byteArrayOutputStream);
}