public void Integration_VimeoClient_GetUserAlbums_NotNull() { // arrange VimeoClient client = CreateAuthenticatedClient(); // act Paginated <Album> albums = client.GetAlbums(vimeoSettings.UserId); // assert albums.ShouldNotBeNull(); }
public async Task Integration_VimeoClient_GetAccountVideos_SecondPage() { // arrange VimeoClient client = CreateAuthenticatedClient(); // act Paginated <Video> videos = await client.GetVideosAsync(page : 2, perPage : 5); // assert videos.ShouldNotBeNull(); }
public void Integration_VimeoClient_GetAccountVideos_RetrievesCurrentAccountVideos() { // arrange VimeoClient client = CreateAuthenticatedClient(); // act Paginated <Video> videos = client.GetUserVideos(vimeoSettings.UserId); // assert videos.ShouldNotBeNull(); }
public void Integration_VimeoClient_GetUserAlbumVideos_RetrievesUserAlbumVideos() { // arrange VimeoClient client = CreateAuthenticatedClient(); // act Paginated <Video> videos = client.GetUserAlbumVideos(vimeoSettings.UserId, vimeoSettings.AlbumId); // assert videos.ShouldNotBeNull();; videos.data.Count.ShouldBeGreaterThan(0); }