@Test
public void testTargetPath() {

  DistCpOptions options = OptionsParser.parse(new String[] {
      "-f",
      "hdfs://localhost:8020/source/first",
      "hdfs://localhost:8020/target/"});
  Assert.assertEquals(options.getTargetPath(), new Path("hdfs://localhost:8020/target/"));
}