@Test
public void testExclusionsOption() {

  final DistCpOptions.Builder builder = new DistCpOptions.Builder(
      new Path("hdfs://localhost:8020/source/first"),
      new Path("hdfs://localhost:8020/target/"));
  Assert.assertNull(builder.build().getFiltersFile());
  builder.withFiltersFile("/tmp/filters.txt");
  Assert.assertEquals("/tmp/filters.txt", builder.build().getFiltersFile());
}