@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());
    int fromDirChildrenCount = fromDir.listFiles().length;
    MoveDirectory moveDirectory = new MoveDirectory().relative("blah").setToRelative("src/main/resources/blah");
    TOExecutionResult executionResult = moveDirectory.execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.SUCCESS);
    assertEquals(moveDirectory.getDescription(), "Move a directory from blah to src/main/resources/blah");
    assertEquals(executionResult.getDetails(), "Directory '/blah' has been moved to '/src/main/resources/blah'");
    // Since the actual move operation is delegated to Apache Commons FileUtils.moveDirectory, the actual move
    // operation won't be tested too extensively here
    assertFalse(fromDir.exists());
    assertTrue(toDir.exists());
    assertTrue(toDir.isDirectory());
    assertEquals(fromDirChildrenCount, toDir.listFiles().length);
}