### Question:
HBaseIndexerMapper extends TableMapper<Text, SolrInputDocumentWritable> { public static Map<String, String> getIndexConnectionParams(Configuration conf) { String confValue = conf.get(INDEX_CONNECTION_PARAMS_CONF_KEY); if (confValue == null) { LOG.warn("No connection parameters found in configuration"); return ImmutableMap.of(); } return Splitter.on(CONF_VALUE_SEPARATOR).withKeyValueSeparator(CONF_KEYVALUE_SEPARATOR).split(confValue); }  static void configureIndexConnectionParams(Configuration conf, Map<String, String> connectionParams); static Map<String, String> getIndexConnectionParams(Configuration conf); static final String INDEX_NAME_CONF_KEY; static final String INDEX_COMPONENT_FACTORY_KEY; static final String INDEX_CONFIGURATION_CONF_KEY; static final String INDEX_CONNECTION_PARAMS_CONF_KEY; static final String INDEX_DIRECT_WRITE_CONF_KEY; static final String TABLE_NAME_CONF_KEY; }### Answer:
@Test public void testGetIndexConnectionParams_Null() { assertEquals( ImmutableMap.of(), HBaseIndexerMapper.getIndexConnectionParams(new Configuration())); }