CloudinaryDotNet.Test.CloudinaryTest.TestListResourcesByPublicIds C# (CSharp) Method

TestListResourcesByPublicIds() private method

private TestListResourcesByPublicIds ( ) : void
return void
        public void TestListResourcesByPublicIds()
        {
            // should allow listing resources by public ids

            var result = m_cloudinary.ListResourceByPublicIds(new List<string>()
                {
                    "testlistresources",
                    "testlistblablabla",
                    "test_context"
                }, true, true, true);

            Assert.NotNull(result);
            Assert.AreEqual(3, result.Resources.Length);
            Assert.True(result.Resources.Where(r => r.Tags != null && r.Tags.Length > 0 && r.Tags[0] == "hello").Count() == 1);
            Assert.True(result.Resources.Where(r => r.Context != null).Count() == 2);
        }
CloudinaryTest