@Test
public void testTransform() throws Exception {

    File reference = findAndCopy("outputs/" + fInput + "_" + fTransform
            + "." + fFormat);
    MimeType mime = mapContentType(fFormat);
    Response response = doRequest(fInput, fTransform, fFormat, mime);
    File output = EngineTestUtils
            .toFile(response.getBody().asInputStream());
    assertEquals(reference, output, mime);
}