@Test
public void test() {

    File fromDir = new File(transformedAppFolder, "blah");
    File toDir = new File(transformedAppFolder, "/src/main/resources/blah");
    assertTrue(fromDir.exists());
    assertTrue(fromDir.isDirectory());
    assertFalse(toDir.exists());
    CopyDirectory copyDirectory = new CopyDirectory().relative("blah").setToRelative("src/main/resources/blah");
    TOExecutionResult executionResult = copyDirectory.execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.SUCCESS);
    assertEquals(copyDirectory.getDescription(), "Copy directory content from blah to src/main/resources/blah");
    assertEquals(executionResult.getDetails(), "Files from '/blah' have been copied to '/src/main/resources/blah'");
    // Since the actual copy operation is delegated to Apache Commons FileUtils.copyDirectory, the actual copy
    // operation won't be tested too extensively here
    assertTrue(fromDir.exists());
    assertTrue(fromDir.isDirectory());
    assertTrue(toDir.exists());
    assertTrue(toDir.isDirectory());
    assertEquals(fromDir.listFiles().length, toDir.listFiles().length);
}