### Question:
RippleScriptEngineFactory implements ScriptEngineFactory { public String getMethodCallSyntax(final String obj, final String m, final String... args) { StringBuilder sb = new StringBuilder(obj); for (String arg : args) { sb.append(" "); sb.append(arg); } sb.append(" "); sb.append(m); sb.append(" >> ."); return sb.toString(); } RippleScriptEngineFactory(); String getEngineName(); String getEngineVersion(); List<String> getExtensions(); List<String> getMimeTypes(); List<String> getNames(); String getLanguageName(); String getLanguageVersion(); Object getParameter(final String key); String getMethodCallSyntax(final String obj,
                                      final String m,
                                      final String... args); String getOutputStatement(final String toDisplay); String getProgram(final String... statements); ScriptEngine getScriptEngine();  }### Answer:
@Test public void testGetMethodCallSyntax() throws Exception { ScriptEngineFactory f = new RippleScriptEngineFactory(); assertEquals("ex:bob foaf:name >> .", f.getMethodCallSyntax("ex:bob", "foaf:name")); assertEquals("1 2 add >> .", f.getMethodCallSyntax("1", "add", "2")); }