public void WhenResettingValue_ThenSetsItToNull()
            {
                var property = new Mock <PropertyDescriptor>("foo", new Attribute[0]);

                property.Setup(x => x.Name).Returns("Property");
                property.Setup(x => x.Attributes).Returns(new AttributeCollection());
                property.Setup(x => x.GetValue(It.IsAny <object>())).Returns("{ }");

                var descriptor = new StringCollectionPropertyDescriptor <Model>(property.Object);

                descriptor.ResetValue(new object());

                property.Verify(x => x.SetValue(It.IsAny <object>(), null));
            }
            public void WhenResettingValue_ThenSetsItToNull()
            {
                var property = new Mock<PropertyDescriptor>("foo", new Attribute[0]);
                property.Setup(x => x.Name).Returns("Property");
                property.Setup(x => x.Attributes).Returns(new AttributeCollection());
                property.Setup(x => x.GetValue(It.IsAny<object>())).Returns("{ }");

                var descriptor = new StringCollectionPropertyDescriptor<Model>(property.Object);

                descriptor.ResetValue(new object());

                property.Verify(x => x.SetValue(It.IsAny<object>(), null));
            }