This exception is thrown by WhippedCreamUpdatableContext members that can't find a property to match a given property name.
Inheritance: System.Exception
        public void MessageIsCorrect()
        {
            UnknownPropertyException ex = new UnknownPropertyException("TestPropertyName", this.GetType());

            Assert.AreEqual(string.Format(UnknownPropertyException.MessageFormat, "TestPropertyName", this),
                            ex.Message, @"
            The message that was generated was not what was expected.
            ");
        }
        public void Constructor_NullTargetType()
        {
            UnknownPropertyException ex = new UnknownPropertyException("TestPropertyName", null);

            Assert.AreEqual(string.Format(UnknownPropertyException.MessageFormat, "TestPropertyName", "<unknown>"),
                            ex.Message, @"
            If the target type passed is null, we'll use '<unknown>' instead.
            ");
        }
        public void Constructor_WhitespacePropertyName()
        {
            UnknownPropertyException ex = new UnknownPropertyException("\t", this.GetType());

            Assert.AreEqual(string.Format(UnknownPropertyException.MessageFormat, "<unknown>", this),
                            ex.Message, @"
            If the property name is only whitespace we will use '<unknown>' instead.
            ");
        }
        public void Constructor_NullPropertyName()
        {
            UnknownPropertyException ex = new UnknownPropertyException(null, this.GetType());

            Assert.AreEqual(string.Format(UnknownPropertyException.MessageFormat, "<unknown>", this),
                            ex.Message, @"
            If null is passed in for the property name, we will use '<unknown>' instead.
            ");
        }