public void test_1_1_1_M()
{
FlushManager flushManager = new FlushManager();
PhotographerUni_1_1_1_M a = new PhotographerUni_1_1_1_M();
a.setPhotographerId(1);
AlbumUni_1_1_1_M b = new AlbumUni_1_1_1_M();
b.setAlbumId("b1");
PhotoUni_1_1_1_M c1 = new PhotoUni_1_1_1_M();
c1.setPhotoId("c1");
PhotoUni_1_1_1_M c2 = new PhotoUni_1_1_1_M();
c2.setPhotoId("c2");
PhotoUni_1_1_1_M c3 = new PhotoUni_1_1_1_M();
c3.setPhotoId("c3");
a.setAlbum(b);
b.addPhoto(c1);
b.addPhoto(c2);
b.addPhoto(c3);
ObjectGraph graph = graphBuilder.getObjectGraph(a, null);
pc.getMainCache().addGraphToCache(graph, pc);
markAllNodeAsDirty();