public void ReturnsDefaultValues() { var defaultCustomTypeDescriptor = new CallEmptyConstructor(); Assert.Same(AttributeCollection.Empty, defaultCustomTypeDescriptor.GetAttributes()); Assert.Null(defaultCustomTypeDescriptor.GetClassName()); Assert.Null(defaultCustomTypeDescriptor.GetComponentName()); Assert.NotNull(defaultCustomTypeDescriptor.GetConverter()); Assert.Null(defaultCustomTypeDescriptor.GetDefaultEvent()); Assert.Null(defaultCustomTypeDescriptor.GetDefaultProperty()); Assert.Null(defaultCustomTypeDescriptor.GetEditor(typeof(int))); Assert.Same(EventDescriptorCollection.Empty, defaultCustomTypeDescriptor.GetEvents()); Assert.Same(EventDescriptorCollection.Empty, defaultCustomTypeDescriptor.GetEvents(new Attribute[0])); Assert.Same(PropertyDescriptorCollection.Empty, defaultCustomTypeDescriptor.GetProperties()); Assert.Same(PropertyDescriptorCollection.Empty, defaultCustomTypeDescriptor.GetProperties(new Attribute[0])); Assert.Null(defaultCustomTypeDescriptor.GetPropertyOwner(null)); }