@Test
public void invalidFolderFailTest() {

    TOExecutionResult executionResult = new PomFile(model).relative("gigs").execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.ERROR);
    assertEquals(executionResult.getException().getClass(), TransformationOperationException.class);
    assertEquals(executionResult.getException().getMessage(), "There was an error when creating pom.xml file at gigs, double check if that directory exists");
}