public void TestGetUsersWithOAuthMultipleRequest() { var requests = new List <IUsers> { SoundCloudApiAuthenticated.Users(), SoundCloudApiAuthenticated.Users(), SoundCloudApiAuthenticated.Users(), }; var users = SoundCloudApiAuthenticated.Execute(requests); Assert.Greater(users.Count, 0); }
public void TestGetUsersAsyncMultipleRequest() { Completion = new ManualResetEvent(false); var requests = new List <IUsers> { SoundCloudApiAuthenticated.Users(), SoundCloudApiAuthenticated.Users(), SoundCloudApiAuthenticated.Users(), }; SoundCloudApiAuthenticated.ExecuteAsync(requests, UserListBuilder); Assert.Greater(_asyncUsersResult.Count, 0); }
public void TestGetUsersWithSearchUsingOAuthRequest() { SoundCloudApiAuthenticated.Users().Search("Owl").Get(); Assert.Greater(_asyncUsersResult.Count, 0); }