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