### Question:
AlternativeScheme implements Serializable { @Override public int hashCode() { return Objects.hash(name, instruction); } AlternativeScheme();  AlternativeScheme(String name, String instruction); String getName(); void setName(String name); String getInstruction(); void setInstruction(String instruction); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void testHashCode() { AlternativeScheme scheme = new AlternativeScheme("Paymit", "PM,12341234,1241234"); assertEquals(1266162573, scheme.hashCode()); }