public void GetAlbums() { IPhotoAlbumManager _PhotoAlbumManager = new PhotoAlbumManager(); var albums = _PhotoAlbumManager.QueryAllAlbums(); Assert.IsTrue(albums.Count > 0, "Server is not returning albums"); }
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"); }
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"); }