### Question:
PointImpl implements Point, Comparable<Point> { public static Point pt(int x, int y) { return new PointImpl(x, y); } PointImpl();  PointImpl(Point point);  PointImpl(JSONObject json); @Override boolean itsMe(Point pt); boolean itsMe(int x, int y); @Override boolean isOutOf(int size); @Override boolean isOutOf(int dw, int dh, int size); @Override double distance(Point other); @Override int hashCode(); int parentHashCode(); boolean parentEquals(Object o); @Override String toString(); @Override boolean equals(Object o); @Override void move(int x, int y); @Override void move(Point pt); @Override Point copy(); @Override void change(Point delta); @Override void change(QDirection direction); @Override void change(Direction direction); static Point pt(int x, int y); @Override int compareTo(Point o); @Override Point relative(Point offset); static Point random(Dice dice, int size);  }### Answer:
@Test public void shouldSaveXY() { Point pt = pt(10, 12); assertEquals(10, pt.getX()); assertEquals(12, pt.getY()); }
@Test public void shouldSaveXY_staticMethod() { Point pt = pt(10, 12); assertEquals(10, pt.getX()); assertEquals(12, pt.getY()); }