SendDynamicServerCertificateAction extends MessageAction implements SendingAction { @Override public int hashCode() { int hash = super.hashCode(); hash = 67 * hash + Objects.hashCode(this.messages); hash = 67 * hash + Objects.hashCode(this.records); return hash; } SendDynamicServerCertificateAction();  SendDynamicServerCertificateAction(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 testHashCode() { SendDynamicClientKeyExchangeAction compareAction1 = new SendDynamicClientKeyExchangeAction(); SendDynamicClientKeyExchangeAction compareAction2 = new SendDynamicClientKeyExchangeAction(); assertTrue(compareAction1.hashCode() == compareAction2.hashCode()); }