protected final boolean runCopy(Configuration conf, String[] args) throws Exception {
    int status = ToolRunner.run(conf, new CopyTable(), args);
    return status == 0;
  }
Base class for testing CopyTable MR tool.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/CopyTableTestBase.java