@Test public void catFunction() throws Exception { Function f = new CatFunction(new ConfigThingy("CAT", "\"ABC\" \"DEF\""), new FunctionLibrary(), new DialogLibrary(), new HashMap<>()); assertEquals(0, f.parameters().length); assertEquals("ABCDEF", f.getString(null)); assertFalse(f.getBoolean(null)); Collection<String> dialogFunctions = new ArrayList<>(); f.getFunctionDialogReferences(dialogFunctions); assertTrue(dialogFunctions.isEmpty()); f = new CatFunction(List.of(new StringLiteralFunction(FunctionLibrary.ERROR))); assertEquals(FunctionLibrary.ERROR, f.getString(null)); }
public CatFunction(Collection<Function> subFunction) { super(subFunction); }
CatFunction extends MultiFunction { public CatFunction(Collection<Function> subFunction) { super(subFunction); } }
CatFunction extends MultiFunction { public CatFunction(Collection<Function> subFunction) { super(subFunction); } CatFunction(Collection<Function> subFunction);  CatFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); }
CatFunction extends MultiFunction { public CatFunction(Collection<Function> subFunction) { super(subFunction); } CatFunction(Collection<Function> subFunction);  CatFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); @Override String getString(Values parameters); }
CatFunction extends MultiFunction { public CatFunction(Collection<Function> subFunction) { super(subFunction); } CatFunction(Collection<Function> subFunction);  CatFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); @Override String getString(Values parameters);  }