public void TestGetCommentsAsyncRequest() { Completion = new ManualResetEvent(false); SoundCloudApiUnAuthenticated.Comments().GetAsync(CommentsListBuilder); Completion.WaitOne(TimeSpan.FromSeconds(100)); Assert.Greater(_asyncCommentsResult.Count, 0); }
public void TestGetCommentsMultipleRequest() { var requests = new List <IComments> { SoundCloudApiUnAuthenticated.Comments(), SoundCloudApiUnAuthenticated.Comments(), SoundCloudApiUnAuthenticated.Comments(), }; var users = SoundCloudApiUnAuthenticated.Execute(requests); Assert.Greater(users.Count, 0); }
public void TestGetCommentsRequest() { var playlists = SoundCloudApiUnAuthenticated.Comments().Get(); Assert.Greater(playlists.Count, 0); }