@Test
  public void testInstanceOfHiveHBaseTableOutputFormat() {
    HiveHBaseTableOutputFormat hBaseOutputFormat = Mockito.mock(HiveHBaseTableOutputFormat.class);
    assertTrue(hBaseOutputFormat instanceof TableOutputFormat);
    assertTrue(hBaseOutputFormat instanceof HiveOutputFormat);
  }
This is a simple test to make sure HiveHBaseTableOutputFormat implements HiveOutputFormat for HBase tables.
hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestHiveHBaseTableOutputFormat.java