### Question:
SizeConfig { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final SizeConfig other = (SizeConfig) object; return other.width == width && other.height == height; } SizeConfig(int width, int height); static SizeConfig imports(Configurer configurer); static SizeConfig imports(Xml root); static Xml exports(SizeConfig config); int getWidth(); int getHeight(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_SIZE; static final String ATT_WIDTH; static final String ATT_HEIGHT; }### Answer:
@Test void testEquals() { final SizeConfig config = new SizeConfig(16, 32); assertEquals(config, config); assertEquals(config, new SizeConfig(16, 32)); assertNotEquals(config, null); assertNotEquals(config, new Object()); assertNotEquals(config, new SizeConfig(0, 32)); assertNotEquals(config, new SizeConfig(16, 0)); }