Ejemplo n.º 1
0
 /** Test of handleException method, of class JRubyEngine. */
 @Test
 public void testHandleException() throws BSFException {
   System.out.println("handleException");
   BSFManager manager = new BSFManager();
   JRubyEngine instance = new JRubyEngine();
   instance.initialize(manager, "jruby", null);
   BSFException bsfExcptn =
       new BSFException(BSFException.REASON_EXECUTION_ERROR, "test", new NullPointerException());
   instance.handleException(bsfExcptn);
 }