public final void testCopy() { Rect r = new Rect(1, 2, 3, 4); Rect r2 = r.copy(); assertNotSame(r2, r); assertEquals(r2, r); }