public void TestGetGroupsWithSearchAsyncRequest() { Completion = new ManualResetEvent(false); SoundCloudApiUnAuthenticated.Groups().Search("Owl").GetAsync(GroupsListBuilder); Completion.WaitOne(TimeSpan.FromSeconds(100)); Assert.Greater(_asyncGroupsResult.Count, 0); }
public void TestGetGroupsMultipleRequest() { var requests = new List <IGroups> { SoundCloudApiUnAuthenticated.Groups(), SoundCloudApiUnAuthenticated.Groups(), SoundCloudApiUnAuthenticated.Groups(), }; var users = SoundCloudApiUnAuthenticated.Execute(requests); Assert.Greater(users.Count, 0); }
public void TestGetGroupsWithSearchRequest() { var groups = SoundCloudApiUnAuthenticated.Groups().Search("Owl").Get(); Assert.Greater(groups.Count, 0); }