SendDynamicClientKeyExchangeAction extends MessageAction implements SendingAction { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final SendDynamicClientKeyExchangeAction other = (SendDynamicClientKeyExchangeAction) obj; if (!Objects.equals(this.messages, other.messages)) { return false; } if (!Objects.equals(this.records, other.records)) { return false; } return super.equals(obj); } SendDynamicClientKeyExchangeAction();  SendDynamicClientKeyExchangeAction(String connectionAlias); @Override void execute(State state); @Override String toString(); @Override String toCompactString(); @Override boolean executedAsPlanned(); @Override void setRecords(List<AbstractRecord> records); @Override void reset(); @Override List<ProtocolMessage> getSendMessages(); @Override List<AbstractRecord> getSendRecords(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testEquals() { assertTrue(action.equals(action)); assertFalse(action.equals(null)); assertFalse(action.equals(new Object())); }