public void testNonExistingRow() throws Exception {
IndexerConf conf = new IndexerConfBuilder().table(TABLE_A).build();
when(tableA.get(any(Get.class))).thenReturn(new Result());
ResultToSolrMapper mapper = mock(ResultToSolrMapper.class);
when(mapper.isRelevantKV(any(KeyValue.class))).thenReturn(true);
Indexer indexer = Indexer.createIndexer("index name", conf, "record", mapper, tablePool, null, solrDocumentWriter);
IndexingEventListener indexingEventListener = new IndexingEventListener(indexer, TABLE_A, false);
List<KeyValue> kvs = Lists.newArrayList(new KeyValue(Bytes.toBytes("row1"), Bytes.toBytes("cf"),
Bytes.toBytes("qual"), Bytes.toBytes("value")));