@Test
public void testClassInCurrentClasspath() throws ScriptException, NoSuchMethodException {

   ScriptEngineManager mgr = new ScriptEngineManager();
   ScriptEngine engine = mgr.getEngineByExtension("java");
   Invocable inv = (Invocable) engine.eval( //
         "public java.util.List<String> split(String source) { return org.unidal.helper.Splitters.by('.').split(source); }");
   Assert.assertEquals("[a, b, c, d, e]", inv.invokeFunction("split", "a.b.c.d.e").toString());
}