### Question:
GatekeeperAWSInstance { @Override public int hashCode() { return Objects.hash(instanceId, application, name, ip, ssmStatus, platform); } GatekeeperAWSInstance(String instanceId, String application, String name, String ip, String platform); String getInstanceId(); String getApplication(); String getName(); String getIp(); String getSsmStatus(); String getPlatform(); GatekeeperAWSInstance setSsmStatus(String ssmStatus); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode(){ String instanceId = "i-h3110"; String application = "TST"; String name = "TSTBOX"; String ip = "123.4.5.6"; String ssmStatus = "Unknown"; String platform = "Linux"; GatekeeperAWSInstance awsInstance1 = new GatekeeperAWSInstance(instanceId, application, name, ip, platform); Assert.assertEquals("Test hashCode()", Objects.hash(instanceId, application, name, ip, ssmStatus, platform), awsInstance1.hashCode()); }