@Test
public void testConfigureIndexConnectionParams() {

    Map<String,String> connectionParams = ImmutableMap.of("key1", "val1", "key2", "val2");
    Configuration conf = new Configuration();
    
    HBaseIndexerMapper.configureIndexConnectionParams(conf, connectionParams);
    assertEquals(connectionParams, HBaseIndexerMapper.getIndexConnectionParams(conf));
}