public void testReadNestedPropertyToManyInMiddle() throws Exception {
DataContext context = createDataContext();
Artist a = context.newObject(Artist.class);
ArtistExhibit ex = context.newObject(ArtistExhibit.class);
Painting p1 = context.newObject(Painting.class);
Painting p2 = context.newObject(Painting.class);
p1.setPaintingTitle("p1");
p2.setPaintingTitle("p2");
a.addToPaintingArray(p1);
a.addToPaintingArray(p2);