private void TestPropertyWithNullEquivalent(string Value)
        {
            // Arrange
            var r = new StringMinimumLengthRule("RuleName");

            // Act
            r.Property(Value);
        }
        public void PropertyThrowsExceptionIfAlreadySet()
        {
            // Arrange
            var r = new StringMinimumLengthRule("RuleName").Property("AProperty");

            // Act
            r.Property("AnotherName");
        }
        public void PropertySetsPropertyName()
        {
            // Arrange
            var r     = new StringMinimumLengthRule("ARuleName");
            var pName = "APropertyName";

            // Act
            var returnedRule = r.Property(pName);

            // Assert
            Assert.AreEqual(returnedRule, r);
            Assert.AreEqual(pName, r.PropertyName);
        }