@Test
  public void testTableRecordReader() throws IOException {
    Table table = createTable(Bytes.toBytes("table1"));
    runTestMapred(table);
  }
Run test assuming no errors using mapred api.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapred/TestTableInputFormat.java