### Question:
Point { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || getClass() != object.getClass()) { return false; } final Point other = (Point) object; return x == other.x && y == other.y; } Point();  Point(int x, int y); void translate(int vx, int vy); void set(int x, int y); void setX(int x); void setY(int y); int getX(); int getY(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString();  }### Answer:
@Test void testEquals() { final Point point = new Point(); assertEquals(point, point); assertEquals(new Point(), new Point()); assertEquals(new Point(1, 2), new Point(1, 2)); assertNotEquals(new Point(), null); assertNotEquals(new Point(), new Object()); assertNotEquals(new Point(1, 0), new Point(1, 1)); assertNotEquals(new Point(0, 1), new Point(1, 0)); assertNotEquals(new Point(), new Point(1, 1)); }