public void ReturnsParentValues()
        {
            var parent = new ParentCustomTypeDescriptor();
            var customTypeDescriptor = new InjectsParent(parent);

            Assert.Same(parent.GetAttributes(), customTypeDescriptor.GetAttributes());
            Assert.Same(parent.GetClassName(), customTypeDescriptor.GetClassName());
            Assert.Same(parent.GetComponentName(), customTypeDescriptor.GetComponentName());
            Assert.Same(parent.GetConverter(), customTypeDescriptor.GetConverter());
            Assert.Same(parent.GetDefaultEvent(), customTypeDescriptor.GetDefaultEvent());
            Assert.Same(parent.GetDefaultProperty(), customTypeDescriptor.GetDefaultProperty());
            Assert.Same(parent.GetEditor(/* any value */ null), customTypeDescriptor.GetEditor(/* any value */ null));
            Assert.Same(parent.GetEvents(), customTypeDescriptor.GetEvents());
            Assert.Same(parent.GetEvents(/* any value */ null), customTypeDescriptor.GetEvents(/* any value */ null));
            Assert.Same(parent.GetProperties(), customTypeDescriptor.GetProperties());
            Assert.Same(parent.GetProperties(/* any value */ null), customTypeDescriptor.GetProperties(/* any value */ null));
            Assert.Same(parent.GetPropertyOwner(/* any value */ null), customTypeDescriptor.GetPropertyOwner(/* any value */ null));
        }
        public void ReturnsParentValues()
        {
            var parent = new ParentCustomTypeDescriptor();
            var customTypeDescriptor = new InjectsParent(parent);

            Assert.Same(parent.GetAttributes(), customTypeDescriptor.GetAttributes());
            Assert.Same(parent.GetClassName(), customTypeDescriptor.GetClassName());
            Assert.Same(parent.GetComponentName(), customTypeDescriptor.GetComponentName());
            Assert.Same(parent.GetConverter(), customTypeDescriptor.GetConverter());
            Assert.Same(parent.GetDefaultEvent(), customTypeDescriptor.GetDefaultEvent());
            Assert.Same(parent.GetDefaultProperty(), customTypeDescriptor.GetDefaultProperty());
            Assert.Same(parent.GetEditor(/* any value */ null), customTypeDescriptor.GetEditor(/* any value */ null));
            Assert.Same(parent.GetEvents(), customTypeDescriptor.GetEvents());
            Assert.Same(parent.GetEvents(/* any value */ null), customTypeDescriptor.GetEvents(/* any value */ null));
            Assert.Same(parent.GetProperties(), customTypeDescriptor.GetProperties());
            Assert.Same(parent.GetProperties(/* any value */ null), customTypeDescriptor.GetProperties(/* any value */ null));
            Assert.Same(parent.GetPropertyOwner(/* any value */ null), customTypeDescriptor.GetPropertyOwner(/* any value */ null));
        }