@Test
public void testGetOutputShouldSetDestination() {

    //GIVEN
    given(serializerFactory.createSerializer()).willReturn(serializer);
    //WHEN
    underTest.getOutput(xsltTransformer);
    //THEN
    verify(xsltTransformer).setDestination(serializer);
}