public void GivenPhotoAlbumApiService_WhenGetAlbumsIsCalled_ThenReturnsAlbums()
        {
            //arrange
            var albums  = GetAlbums();
            var request = GetRestRequest(_albumResourceUrl, Method.GET);

            _restRequest.Stub(x => x.CreateRequest(_albumResourceUrl, Method.GET)).Return(request);
            _restClient.Stub(c => c.Execute <List <Album> >(request)).Return(GetAlbumResponse());

            //act
            var result = _apiService.GetAlbums();

            //assert
            result.ShouldAllBeEquivalentTo(albums);
        }
        public PhotoAlbumModel GetAllPhotoAlbums()
        {
            var albums = _photoAlbumApiService.GetAlbums();
            var photos = _photoAlbumApiService.GetPhotos();

            return(_createPhotoAlbumService.GetPhotoAlbum(photos, albums));
        }