/** Test of getMethodCallSyntax method, of class Jsr223JRubyEngineFactory. */ @Test public void testGetMethodCallSyntax() { logger1.info("getMethodCallSyntax"); String obj = "receiver"; String m = "establish_connection"; String[] args = {"localhost", "1099"}; JRubyEngineFactory instance = new JRubyEngineFactory(); String expResult = "receiver.establish_connection(localhost, 1099)"; String result = instance.getMethodCallSyntax(obj, m, args); assertEquals(expResult, result); instance = null; }