Examples of AlbumBi_1_1_1_M


Examples of com.impetus.kundera.tests.crossdatastore.pickr.entities.album.AlbumBi_1_1_1_M

    {
        PhotographerBi_1_1_1_M p = new PhotographerBi_1_1_1_M();
        p.setPhotographerId(photographerId);
        p.setPhotographerName("Amresh");

        AlbumBi_1_1_1_M album1 = new AlbumBi_1_1_1_M("album_1", "My Phuket Vacation", "Went Phuket with friends");
        album1.addPhoto(new PhotoBi_1_1_1_M("photo_1", "One beach", "On beach with friends"));
        album1.addPhoto(new PhotoBi_1_1_1_M("photo_2", "In Hotel", "Chilling out in room"));
        album1.addPhoto(new PhotoBi_1_1_1_M("photo_3", "At Airport", "So tired"));

        p.setAlbum(album1);

        return p;
View Full Code Here

Examples of com.impetus.kundera.tests.crossdatastore.pickr.entities.album.AlbumBi_1_1_1_M

    {
        Assert.assertNotNull(p);
        Assert.assertEquals(1, p.getPhotographerId());
        Assert.assertEquals("Amresh", p.getPhotographerName());

        AlbumBi_1_1_1_M album = p.getAlbum();
        Assert.assertNotNull(album);
        Assert.assertEquals("album_1", album.getAlbumId());
        Assert.assertEquals("My Phuket Vacation", album.getAlbumName());
        Assert.assertEquals("Went Phuket with friends", album.getAlbumDescription());

        List<PhotoBi_1_1_1_M> photos = album.getPhotos();
        Assert.assertNotNull(photos);
        Assert.assertFalse(photos.isEmpty());
        Assert.assertEquals(3, photos.size());

        PhotoBi_1_1_1_M photo1 = photos.get(0);
        Assert.assertNotNull(photo1);
        Assert.assertEquals(7, photo1.getPhotoId().length());

        AlbumBi_1_1_1_M albumRev = photo1.getAlbum();
        Assert.assertNotNull(albumRev);
    }
View Full Code Here

Examples of com.impetus.kundera.tests.crossdatastore.pickr.entities.album.AlbumBi_1_1_1_M

    {
        Assert.assertNotNull(p);
        Assert.assertEquals(1, p.getPhotographerId());
        Assert.assertEquals("Vivek", p.getPhotographerName());

        AlbumBi_1_1_1_M album = p.getAlbum();
        Assert.assertNotNull(album);
        Assert.assertEquals("album_1", album.getAlbumId());
        Assert.assertEquals("My Phuket Vacation", album.getAlbumName());
        Assert.assertEquals("Went Phuket with friends", album.getAlbumDescription());

        List<PhotoBi_1_1_1_M> photos = album.getPhotos();
        Assert.assertNotNull(photos);
        Assert.assertFalse(photos.isEmpty());
        Assert.assertEquals(3, photos.size());

        PhotoBi_1_1_1_M photo1 = photos.get(0);
        Assert.assertNotNull(photo1);
        Assert.assertEquals(7, photo1.getPhotoId().length());

        AlbumBi_1_1_1_M albumRev = photo1.getAlbum();
        Assert.assertNotNull(albumRev);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.