/** Test of getOutputStatement method, of class Jsr223JRubyEngineFactory. */ @Test public void testGetOutputStatement() { logger1.info("getOutputStatement"); String toDisplay = "abc"; JRubyEngineFactory instance = new JRubyEngineFactory(); String expResult = "puts abc\nor\nprint abc"; String result = instance.getOutputStatement(toDisplay); assertEquals(expResult, result); instance = null; }