Object[] args = null;
String expResult = "Cherry blossom is a round shaped,";
String result = (String) ((Invocable)instance).invokeMethod(receiver, method, args);
assertTrue(result.startsWith(expResult));
Bindings bindings = new SimpleBindings();
bindings.put("name", "cedar");
bindings.put("shape", "pyramidal");
bindings.put("foliage", "evergreen");
bindings.put("color", "nondescript");
bindings.put("bloomtime", "April - May");
instance.setBindings(bindings, ScriptContext.ENGINE_SCOPE);
filename = basedir + "/test/org/jruby/embed/ruby/tree_given_localvars.rb";
reader = new FileReader(filename);
receiver = instance.eval(reader);
expResult = "Cedar is a pyramidal shaped,";