### Question:
LayerableConfig { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final LayerableConfig other = (LayerableConfig) object; return layerRefresh == other.layerRefresh && layerDisplay == other.layerDisplay; } 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 testEquals() { final LayerableConfig config = new LayerableConfig(0, 1); assertEquals(config, config); assertEquals(config, new LayerableConfig(0, 1)); assertNotEquals(config, null); assertNotEquals(config, new Object()); assertNotEquals(config, new LayerableConfig(1, 1)); assertNotEquals(config, new LayerableConfig(0, 0)); assertNotEquals(config, new LayerableConfig(1, 0)); }