### Question:
ActionConfig { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final ActionConfig other = (ActionConfig) object; return other.x == x && other.y == y && other.width == width && other.height == height && other.name.equals(name) && other.description.equals(description); } ActionConfig(String name, String description, int x, int y, int width, int height); static ActionConfig imports(Configurer configurer); static ActionConfig imports(Xml root); static Xml exports(ActionConfig config); String getName(); String getDescription(); int getX(); int getY(); int getWidth(); int getHeight(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_ACTION; static final String ATT_NAME; static final String ATT_DESCRIPTION; static final String ATT_X; static final String ATT_Y; static final String ATT_WIDTH; static final String ATT_HEIGHT; }### Answer:
@Test void testEquals() { final ActionConfig action = new ActionConfig("a", "b", 0, 1, 2, 3); assertEquals(action, action); assertNotEquals(action, null); assertNotEquals(action, new Object()); assertNotEquals(action, new ActionConfig("", "b", 0, 1, 2, 3)); assertNotEquals(action, new ActionConfig("a", "", 0, 1, 2, 3)); assertNotEquals(action, new ActionConfig("a", "b", -1, 1, 2, 3)); assertNotEquals(action, new ActionConfig("a", "b", 0, -1, 2, 3)); assertNotEquals(action, new ActionConfig("a", "b", 0, 1, -1, 3)); assertNotEquals(action, new ActionConfig("a", "b", 0, 1, 2, -1)); }