@Test public void lengthFunction() throws Exception { Function f = new LengthFunction(new ConfigThingy("LENGTH", "\"aaaaa\""), new FunctionLibrary(), new DialogLibrary(), new HashMap<>()); assertEquals(0, f.parameters().length); assertEquals("5", f.getString(null)); assertFalse(f.getBoolean(null)); Collection<String> dialogFunctions = new ArrayList<>(); f.getFunctionDialogReferences(dialogFunctions); assertTrue(dialogFunctions.isEmpty()); }
public LengthFunction(ConfigThingy conf, FunctionLibrary funcLib, DialogLibrary dialogLib, Map<Object, Object> context) { super(conf, funcLib, dialogLib, context); }
LengthFunction extends CatFunction { public LengthFunction(ConfigThingy conf, FunctionLibrary funcLib, DialogLibrary dialogLib, Map<Object, Object> context) { super(conf, funcLib, dialogLib, context); } }
LengthFunction extends CatFunction { public LengthFunction(ConfigThingy conf, FunctionLibrary funcLib, DialogLibrary dialogLib, Map<Object, Object> context) { super(conf, funcLib, dialogLib, context); } LengthFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); }
LengthFunction extends CatFunction { public LengthFunction(ConfigThingy conf, FunctionLibrary funcLib, DialogLibrary dialogLib, Map<Object, Object> context) { super(conf, funcLib, dialogLib, context); } LengthFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); @Override String getString(Values parameters); @Override boolean getBoolean(Values parameters); }
LengthFunction extends CatFunction { public LengthFunction(ConfigThingy conf, FunctionLibrary funcLib, DialogLibrary dialogLib, Map<Object, Object> context) { super(conf, funcLib, dialogLib, context); } LengthFunction(ConfigThingy conf, FunctionLibrary funcLib,
      DialogLibrary dialogLib, Map<Object, Object> context); @Override String getString(Values parameters); @Override boolean getBoolean(Values parameters);  }