@Test
public void nonExistentFileTest() {

    MoveFile moveFile = new MoveFile().relative("nonExistentFile").setToRelative("src/main/resources");
    TOExecutionResult executionResult = moveFile.execution(transformedAppFolder, transformationContext);
    assertEquals(moveFile.getToRelative(), "src/main/resources");
    assertEquals(executionResult.getType(), TOExecutionResult.Type.ERROR);
    assertEquals(executionResult.getException().getClass(), TransformationOperationException.class);
    assertEquals(executionResult.getException().getMessage(), "File could not be moved");
    assertEquals(executionResult.getException().getCause().getMessage(), "File " + new File(transformedAppFolder, "nonExistentFile").getAbsolutePath() + " does not exist");
    assertEquals(moveFile.getDescription(), "Move file nonExistentFile to src/main/resources");
    assertNull(executionResult.getDetails());
}