@Test
public void testSourceListing() {

  final DistCpOptions.Builder builder = new DistCpOptions.Builder(
      new Path("hdfs://localhost:8020/source/first"),
      new Path("hdfs://localhost:8020/target/"));
  Assert.assertEquals(new Path("hdfs://localhost:8020/source/first"),
      builder.build().getSourceFileListing());
}