ReceiveAsciiAction extends AsciiAction { @Override public boolean executedAsPlanned() { return Objects.equals(receivedAsciiString, getAsciiText()); } ReceiveAsciiAction();  ReceiveAsciiAction(String asciiText, String encoding); @Override void execute(State state); String getReceivedAsciiString(); @Override void reset(); @Override boolean executedAsPlanned();  }
@Test public void testExecutedAsPlanned() { assertFalse(action.executedAsPlanned()); }