Пример #1
0
        public void GetAlbums()
        {
            IPhotoAlbumManager _PhotoAlbumManager = new PhotoAlbumManager();
            var albums = _PhotoAlbumManager.QueryAllAlbums();

            Assert.IsTrue(albums.Count > 0, "Server is not returning albums");
        }
Пример #2
0
        public void GetComments()
        {
            IPhotoAlbumManager _PhotoAlbumManager = new PhotoAlbumManager();
            var comments = _PhotoAlbumManager.QueryPhotosFromAlbum(new QueryPhotosFromAlbumInformation()
            {
                AlbumId = 1
            });

            Assert.IsTrue(comments.Count > 0, "Server is not returning comments");
        }
Пример #3
0
        public void GetPhotos()
        {
            IPhotoAlbumManager _PhotoAlbumManager = new PhotoAlbumManager();
            var photos = _PhotoAlbumManager.QueryCommentsFromPhoto(new QueryCommentsFromPhotoInformation()
            {
                PhotoId = 1
            });

            Assert.IsTrue(photos.Count > 0, "Server is not returning photos");
        }