@Test(expected = ExecutionException.class)
public void testRenderTemplateFileShouldNotReturnInvalidXmlIfTemplateWasInvalid() throws IOException {

    String invalidXmlTemplate = "<invalid xml";
    File file = writeTemplateFromString(invalidXmlTemplate);
    tr.renderTemplateFile(file);
}