@Test
public void test_1_M_M_M()
{
FlushManager flushManager = new FlushManager();
PhotographerUni_1_M_M_M a = new PhotographerUni_1_M_M_M();
a.setPhotographerId(1);
AlbumUni_1_M_M_M b1 = new AlbumUni_1_M_M_M();
b1.setAlbumId("b1");
AlbumUni_1_M_M_M b2 = new AlbumUni_1_M_M_M();
b2.setAlbumId("b2");
PhotoUni_1_M_M_M c1 = new PhotoUni_1_M_M_M();
c1.setPhotoId("c1");
PhotoUni_1_M_M_M c2 = new PhotoUni_1_M_M_M();
c2.setPhotoId("c2");
PhotoUni_1_M_M_M c3 = new PhotoUni_1_M_M_M();
c3.setPhotoId("c3");
b1.addPhoto(c1);
b1.addPhoto(c2);
b2.addPhoto(c2);
b2.addPhoto(c3);
a.addAlbum(b1);
a.addAlbum(b2);
ObjectGraph graph = graphBuilder.getObjectGraph(a, null);
pc.getMainCache().addGraphToCache(graph, pc);
markAllNodeAsDirty();