@Test(expected = IndexerConfException.class)
public void testInvalid() throws Exception {

    IndexerComponentFactory factory = IndexerComponentFactoryUtil.getComponentFactory(impl, asStream("<foo/>"), Maps.<String, String>newHashMap());
    factory.createIndexerConf();
}