ReceiveAction extends MessageAction implements ReceivingAction { @Override public void reset() { messages = null; records = null; setExecuted(null); } ReceiveAction();  ReceiveAction(List<ProtocolMessage> expectedMessages);  ReceiveAction(ProtocolMessage... expectedMessages);  ReceiveAction(Set<ReceiveOption> receiveOptions, List<ProtocolMessage> messages);  ReceiveAction(Set<ReceiveOption> receiveOptions, ProtocolMessage... messages);  ReceiveAction(ReceiveOption receiveOption, List<ProtocolMessage> messages);  ReceiveAction(ReceiveOption receiveOption, ProtocolMessage... messages);  ReceiveAction(String connectionAlias);  ReceiveAction(String connectionAliasAlias, List<ProtocolMessage> messages);  ReceiveAction(String connectionAliasAlias, ProtocolMessage... messages); @Override void execute(State state); @Override String toString(); @Override String toCompactString(); @Override boolean executedAsPlanned(); List<ProtocolMessage> getExpectedMessages(); void setExpectedMessages(List<ProtocolMessage> expectedMessages); void setExpectedMessages(ProtocolMessage... expectedMessages); @Override void reset(); @Override List<ProtocolMessage> getReceivedMessages(); @Override List<AbstractRecord> getReceivedRecords(); @Override int hashCode(); @Override boolean equals(Object obj); @Override void normalize(); @Override void normalize(TlsAction defaultAction); @Override void filter(); @Override void filter(TlsAction defaultCon);  }
@Test public void testReset() { assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); action.reset(); assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); }