@Test
public void testRegister() {

    TestScriptRunner testScriptRunner = new TestScriptRunner();
    scriptHandler.register(testScriptRunner);
    ScriptRunner actual = scriptHandler.get(ScriptFragment.of("fortest"));
    assertEquals(testScriptRunner, actual);
    assertNull(scriptHandler.get(ScriptFragment.of("nothing")));
}