GenericReceiveAsciiAction extends AsciiAction { @Override public boolean executedAsPlanned() { return isExecuted(); } private  GenericReceiveAsciiAction();  GenericReceiveAsciiAction(String encoding); @Override void execute(State state); @Override void reset(); @Override boolean executedAsPlanned();  }
@Test public void testExecutedAsPlanned() { assertFalse(action.executedAsPlanned()); action.execute(state); assertTrue(action.executedAsPlanned()); }