@Test
public void fileDoesNotExistTest() {

    AddProperty addProperty = new AddProperty("foo", "boo").relative("/src/main/resources/application_zeta.properties");
    TOExecutionResult executionResult = addProperty.execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.ERROR);
    assertEquals(executionResult.getException().getClass(), TransformationOperationException.class);
    assertEquals(executionResult.getException().getMessage(), "Property file could not be modified");
    assertEquals(executionResult.getException().getCause().getClass(), FileNotFoundException.class);
    assertEquals(executionResult.getException().getCause().getMessage(), new File(transformedAppFolder, "/src/main/resources/application_zeta.properties").getAbsolutePath() + " (No such file or directory)");
}