@Test
public void testTargetPath() {

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