@Test(expectedExceptions = ResponseFormattingFailedException.class)
public void testFormatTemplateShouldThrowExceptionWhenXslFileParamDoesNotExist() throws Exception {

    //GIVEN in setUp
    //WHEN
    underTest.formatResponse(wilmaRequest, response, templateResource, params);
    //THEN exception is thrown
}