public async Task TestGetAccountAlbum() { var imgurClient = await AuthenticationHelpers.CreateOAuth2AuthenticatedImgurClient(); var accountEndpoint = new AccountEndpoint(imgurClient); var accountAlbums = await accountEndpoint.GetAccountAlbumsAsync(0); if (accountAlbums.Data.Length == 0) { return; } var accountAlbum = await accountEndpoint.GetAccountAlbumDetailsAsync(accountAlbums.Data[0].Id); // Assert the Response Assert.IsNotNull(accountAlbum.Data); Assert.AreEqual(accountAlbum.Success, true); Assert.AreEqual(accountAlbum.Status, HttpStatusCode.OK); }