@Test public void testIsSupportedByEntityPostive() { assertTrue(handler.isSupportedByEntity(new Action("getX"))); assertFalse(handler.isSupportedByEntity(new Action("getY"))); assertTrue(handler.isSupportedByEntity(new Action("setX", new Numeral(1)))); assertFalse(handler.isSupportedByEntity(new Action("setX"))); }
public abstract boolean isSupportedByEntity(Action action);
ActionHandler { public abstract boolean isSupportedByEntity(Action action); }
ActionHandler { public abstract boolean isSupportedByEntity(Action action);  }
ActionHandler { public abstract boolean isSupportedByEntity(Action action);  abstract boolean isSupportedByEntity(Action action); abstract Percept performAction(Action action); abstract void reset(); }
ActionHandler { public abstract boolean isSupportedByEntity(Action action);  abstract boolean isSupportedByEntity(Action action); abstract Percept performAction(Action action); abstract void reset();  }