Exemple #1
0
        public async Task LastFMStatsControllerTests_GetTopArtists()
        {
            // Arrange

            // Act
            List <Artist> albums = (List <Artist>) await _controller.GetUserTopArtists("chromimuk");

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