コード例 #1
0
        public void TestGetGroupMultipleRequests()
        {
            var resourceList = new List <IGroup>
            {
                SoundCloudApiUnAuthenticated.Group(1),
                SoundCloudApiUnAuthenticated.Group(1),
                SoundCloudApiUnAuthenticated.Group(1),
            };

            var groups = SoundCloudApiUnAuthenticated.Execute(resourceList);

            Assert.AreEqual(3, groups.Count);
        }
コード例 #2
0
        public void TestGetGroupRequest()
        {
            var group = SoundCloudApiUnAuthenticated.Group(1).Get();

            Assert.AreEqual(1, group.Id);
        }