@Test
public void testParsebandwidth() {

  DistCpOptions options = OptionsParser.parse(new String[] {
      "hdfs://localhost:8020/source/first",
      "hdfs://localhost:8020/target/"});
  assertThat(options.getMapBandwidth()).isCloseTo(0f, within(DELTA));
  options = OptionsParser.parse(new String[] {
      "-bandwidth",
      "11.2",
      "hdfs://localhost:8020/source/first",
      "hdfs://localhost:8020/target/"});
  assertThat(options.getMapBandwidth()).isCloseTo(11.2f, within(DELTA));
}