Esempio n. 1
0
        public async Task LastFMStatsControllerTests_GetTopAlbumsAsync()
        {
            // Arrange

            // Act
            List <Album> albums = (List <Album>) await _controller.GetUserTopAlbums("chromimuk");

            // Assert
            Assert.IsNotNull(albums.First().Artist);
        }
 public Task <IEnumerable <Album> > GetTopAlbums(string username, int limit)
 {
     return(_controller.GetUserTopAlbums(username, limit));
 }