@Test public void testRegiesteredScriptRunners() { Set<Class> registered = new HashSet<>(); for (ScriptRunner scriptRunner : module.getScriptRunners()) { registered.add(scriptRunner.getClass()); } assertTrue(registered.contains(FakerScriptRunner.class)); assertTrue(registered.contains(SequenceScriptRunner.class)); }
@Override public Set<ScriptRunner> getScriptRunners() { return standardScriptRunners; }
StandardScriptRunnerModule implements ScriptRunnerModule { @Override public Set<ScriptRunner> getScriptRunners() { return standardScriptRunners; } }
StandardScriptRunnerModule implements ScriptRunnerModule { @Override public Set<ScriptRunner> getScriptRunners() { return standardScriptRunners; }  }
StandardScriptRunnerModule implements ScriptRunnerModule { @Override public Set<ScriptRunner> getScriptRunners() { return standardScriptRunners; }  @Override Set<ScriptRunner> getScriptRunners(); }
StandardScriptRunnerModule implements ScriptRunnerModule { @Override public Set<ScriptRunner> getScriptRunners() { return standardScriptRunners; }  @Override Set<ScriptRunner> getScriptRunners();  }