expect(fileSystem.isDirectory(src)).andReturn(true);
expect(fileSystem.listFiles(src)).andReturn(new File[] {new File("/src/olddummy")});
expect(fileSystem.isDirectory(new File("/src/olddummy"))).andReturn(true);
expect(fileSystem.listFiles(new File("/src/olddummy"))).
andReturn(new File[] {new File("/src/olddummy/file1"), new File("/src/olddummy/file2")});
expect(fileSystem.isDirectory(new File("/src/olddummy/file1"))).andReturn(false);
fileSystem.makeDirsForFile(new File("/dest/newdummy/file1"));
fileSystem.copyFile(srcContents, new File("/dest/newdummy/file1"));