table.close();
}
@Test
public void testLifecycleListeners () throws Exception{
IndexerLifecycleListener indexerLifecycleListener = Mockito.mock(IndexerLifecycleListener.class);
main.getIndexerMaster().registerLifecycleListener(indexerLifecycleListener);
createTable("table1", "family1");
HTable table = new HTable(conf, "table1");