LineRegexReplaceInRegionBolt extends AbstractLogRecordBolt { @Override public void configure(Configuration conf) throws ConfigurationException { configureRegexRegions(conf); configureFields(conf); configureDelimiter(conf); }  @Override void configure(Configuration conf);  }
@Test public void testConfigure(@Injectable Configuration conf) throws Exception { new StrictExpectations(bolt) {{ bolt.configureRegexRegions(conf); bolt.configureFields(conf); bolt.configureDelimiter(conf); }}; bolt.configure(conf); }