### Question:
LOGFunction implements Function { @Override public String render(String... arguments) { if (arguments.length == 2) { return String.format("LOG%s ( %s )", new Object[] { arguments[1], arguments[0] }); } else { return String.format("LOG ( %s )", new Object[] { arguments[0] }); } }  @Override String render(String... arguments);  }### Answer:
@Test public void testRender() { LOGFunction logFunction = new LOGFunction(); assertEquals("LOG ( 100 )", logFunction.render("100")); assertEquals("LOG2 ( 65535 )", logFunction.render("65535" ,"2")); }