//CAY-416
public void testCollectionMatch() {
ObjectContext dc = createDataContext();
Artist artist = dc.newObject(Artist.class);
Painting p1 = dc.newObject(Painting.class), p2 = dc.newObject(Painting.class),
p3 = dc.newObject(Painting.class);
p1.setPaintingTitle("p1");
p2.setPaintingTitle("p2");
p3.setPaintingTitle("p3");
artist.addToPaintingArray(p1);
artist.addToPaintingArray(p2);