Array arr = rs.getArray(1);
ResultSet arrRS = arr.getResultSet();
assertTrue(arrRS.next());
PGbox box1 = (PGbox)arrRS.getObject(2);
PGpoint p1 = box1.point[0];
assertEquals(3, p1.x, 0.001);
assertEquals(4, p1.y, 0.001);
assertTrue(arrRS.next());
PGbox box2 = (PGbox)arrRS.getObject(2);
PGpoint p2 = box2.point[1];
assertEquals(5, p2.x, 0.001);
assertEquals(6, p2.y, 0.001);
assertTrue(!arrRS.next());