{
CompiledScript compiledScript = CompiledScriptFactory.getInstance().compileScript( "a", "rhino" );
javax.script.Namespace context = compiledScript.getEngine().createNamespace();
context.put( "a", new Integer(123));
Object res = compiledScript.eval( context);
assertNotNull("Result found", res);
assertEquals("Result found", new Integer(123), res);
}