public void TestGetUsersWithSearchAsyncRequest() { Completion = new ManualResetEvent(false); SoundCloudApiUnAuthenticated.Users().Search("Owl").GetAsync(UserListBuilder); Completion.WaitOne(TimeSpan.FromSeconds(100)); Assert.Greater(_asyncUsersResult.Count, 0); }
public void TestGetUsersMultipleRequest() { var requests = new List <IUsers> { SoundCloudApiUnAuthenticated.Users(), SoundCloudApiUnAuthenticated.Users(), SoundCloudApiUnAuthenticated.Users(), }; var users = SoundCloudApiUnAuthenticated.Execute(requests); Assert.Greater(users.Count, 0); }
public void TestGetUsersWithSearchRequest() { var user = SoundCloudApiUnAuthenticated.Users().Search("Owl").Get(); Assert.Greater(user.Count, 0); }