Assert.assertTrue(album1.getAlbumId().equals("album_1") || album1.getAlbumId().equals("album_2"));
Assert.assertFalse(album1.getAlbumName().length() == 0);
Assert.assertFalse(album1.getAlbumDescription().length() == 0);
PhotographerBi_1_M_M_M revP = album1.getPhotographer();
Assert.assertNotNull(revP);
Assert.assertEquals(photographerId, revP.getPhotographerId());
List<PhotoBi_1_M_M_M> album1Photos = album1.getPhotos();
Assert.assertNotNull(album1Photos);
Assert.assertFalse(album1Photos.isEmpty());
Assert.assertFalse(album1Photos.size() < 2);
PhotoBi_1_M_M_M album1Photo1 = album1Photos.get(0);
Assert.assertNotNull(album1Photo1);
Assert.assertEquals(7, album1Photo1.getPhotoId().length());
Set<AlbumBi_1_M_M_M> revAlbums1 = album1Photo1.getAlbums();
Assert.assertNotNull(revAlbums1);
Assert.assertFalse(revAlbums1.isEmpty());
Assert.assertFalse(revAlbums1.size() < 1);
// Album 2
AlbumBi_1_M_M_M album2 = p.getAlbums().get(1);
Assert.assertNotNull(album2);
Assert.assertTrue(album2.getAlbumId().equals("album_1") || album2.getAlbumId().equals("album_2"));
Assert.assertFalse(album2.getAlbumName().length() == 0);
Assert.assertFalse(album2.getAlbumDescription().length() == 0);
PhotographerBi_1_M_M_M revP2 = album1.getPhotographer();
Assert.assertNotNull(revP2);
Assert.assertEquals(photographerId, revP2.getPhotographerId());
List<PhotoBi_1_M_M_M> album2Photos = album2.getPhotos();
Assert.assertNotNull(album2Photos);
}