### Question:
ActionHandler { public abstract boolean isSupportedByEntity(Action action);  abstract boolean isSupportedByEntity(Action action); abstract Percept performAction(Action action); abstract void reset();  }### Answer:
@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"))); }