### Question:
LayerableConfig { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + layerRefresh; result = prime * result + layerDisplay; return result; } LayerableConfig(int layerRefresh, int layerDisplay); static LayerableConfig imports(Configurer configurer); static LayerableConfig imports(Xml root); static Xml exports(LayerableConfig config); int getLayerRefresh(); int getLayerDisplay(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_LAYERABLE; static final String ATT_REFRESH; static final String ATT_DISPLAY; }### Answer:
@Test void testHashCode() { final LayerableConfig hash = new LayerableConfig(0, 1); assertHashEquals(hash, new LayerableConfig(0, 1)); assertHashNotEquals(hash, new LayerableConfig(1, 1)); assertHashNotEquals(hash, new LayerableConfig(0, 0)); assertHashNotEquals(hash, new LayerableConfig(1, 0)); }