}
@Test
public void testFetchRowByLocationId() throws Exception {
Selector selector = new Selector().setLocationId(SHARD_NAME + "/0");
FetchResult fetchResult = new FetchResult();
indexManager.fetchRow(TABLE, selector, fetchResult);
assertNotNull(fetchResult.rowResult.row);
Row row = newRow(
"row-1",
newRecord(FAMILY, "record-1", newColumn("testcol1", "value1"), newColumn("testcol2", "value2"),
newColumn("testcol3", "value3")));
assertEquals(row, fetchResult.rowResult.row);
FetchRowResult rowResult = fetchResult.getRowResult();
assertEquals(row, rowResult.getRow());
assertEquals(1, rowResult.getTotalRecords());
}