@Test public void testCanHandle() { assertTrue(scriptRunner.canHandle(ScriptFragment.of("sequence.number"))); assertFalse(scriptRunner.canHandle(ScriptFragment.of("faker.number"))); }
@Override public boolean canHandle(ScriptFragment scriptFragment) { return scriptFragment.getMethodName().equals(NAMESPACE); }
SequenceScriptRunner implements ScriptRunner { @Override public boolean canHandle(ScriptFragment scriptFragment) { return scriptFragment.getMethodName().equals(NAMESPACE); } }
SequenceScriptRunner implements ScriptRunner { @Override public boolean canHandle(ScriptFragment scriptFragment) { return scriptFragment.getMethodName().equals(NAMESPACE); }  }
SequenceScriptRunner implements ScriptRunner { @Override public boolean canHandle(ScriptFragment scriptFragment) { return scriptFragment.getMethodName().equals(NAMESPACE); }  @Override Object run(ScriptFragment scriptFragment); @Override boolean canHandle(ScriptFragment scriptFragment); }
SequenceScriptRunner implements ScriptRunner { @Override public boolean canHandle(ScriptFragment scriptFragment) { return scriptFragment.getMethodName().equals(NAMESPACE); }  @Override Object run(ScriptFragment scriptFragment); @Override boolean canHandle(ScriptFragment scriptFragment);  }