public CatCommand(Logger console, long defaultNumRecords) {
    super(console);
    this.numRecords = defaultNumRecords;
  }
@Test
  public void testCatCommand() throws IOException {
    File file = parquetFile();
    CatCommand command = new CatCommand(createLogger(), 0);
    command.sourceFiles = Arrays.asList(file.getAbsolutePath());
    command.setConf(new Configuration());
    Assert.assertEquals(0, command.run());
  }