@Test(expected = DoNotRetryIOException.class)
  public void shouldThrowErrorIfBadFamilySpecifiedAsFamilyPath() throws IOException {
    testRegionWithFamilies()
      .bulkLoadHFiles(asList(withInvalidColumnFamilyButProperHFileLocation(family1)), false, null);
  }
This class attempts to unit test bulk HLog loading.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestBulkLoad.java