LoggingKeyReplacement extends AbstractReplacement { @Override public void replace(ScriptStep step, String replaceString, String key, ReplaceMode replaceMode) { step.setLoggingKey(replaceString); } LoggingKeyReplacement(); @Override List<ReplaceEntity> getReplacements(ScriptStep step, String searchQuery, String replaceString,
            SearchMode searchMode); @Override void replace(ScriptStep step, String replaceString, String key, ReplaceMode replaceMode);  }
@Test public void testReplace_1() throws Exception { LoggingKeyReplacement fixture = new LoggingKeyReplacement(); ScriptStep step = new ScriptStep(); String replaceString = ""; String key = ""; ReplaceMode replaceMode = ReplaceMode.KEY; fixture.replace(step, replaceString, key, replaceMode); }