Пример #1
0
        public void TestInteropGetType()
        {
            // Arrange
            DeliveryClient deliveryClient = new DeliveryClient(ctx, "975bf280-fd91-488c-994c-2f04416e5ee3");

            // Act
            var result = deliveryClient.getType("article");

            var ct     = (ContentType)result.ToClr();
            var system = (ContentTypeSystem)ct.system.ToClr();

            // Assert
            Assert.Equal("Article", system.name);
        }