@Test
public void nonFileTest() {

    CopyFile copyFile = new CopyFile().relative("blah").setToRelative("src/main/resources");
    TOExecutionResult executionResult = copyFile.execution(transformedAppFolder, transformationContext);
    assertEquals(copyFile.getToRelative(), "src/main/resources");
    assertEquals(executionResult.getType(), TOExecutionResult.Type.ERROR);
    assertEquals(executionResult.getException().getClass(), TransformationOperationException.class);
    assertEquals(executionResult.getException().getMessage(), "File could not be copied");
    assertEquals(executionResult.getException().getCause().getClass(), IOException.class);
    assertEquals(executionResult.getException().getCause().getMessage(), "/blah (Is a directory)");
    assertEquals(copyFile.getDescription(), "Copy file blah to src/main/resources");
    assertNull(executionResult.getDetails());
}