### Question:
GadgetAdminData { @Override public int hashCode() { return Objects.hashCode(this.featureAdminData, this.rpcAdminData); } GadgetAdminData();  GadgetAdminData(FeatureAdminData featureAdminData,
          RpcAdminData rpcAdminData); FeatureAdminData getFeatureAdminData(); void setFeatureAdminData(FeatureAdminData featureAdminData); RpcAdminData getRpcAdminData(); void setRpcAdminData(RpcAdminData rpcAdminData); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertEquals(Objects.hashCode(whitelistFeatures, rpcAdminData), whitelistInfo.hashCode()); assertEquals(Objects.hashCode(blacklistFeatures, new RpcAdminData()), blacklistInfo.hashCode()); assertEquals(Objects.hashCode(new FeatureAdminData(), new RpcAdminData()), nullInfo.hashCode()); assertEquals(Objects.hashCode(new FeatureAdminData(), new RpcAdminData()), defaultInfo.hashCode()); assertEquals(nullInfo.hashCode(), defaultInfo.hashCode()); assertFalse(blacklistInfo.hashCode() == whitelistInfo.hashCode()); }