Example #1
0
        public void EditableObjectModelBase_SetFailedTest2()
        {
            var person = new EditablePerson();

            try
            {
                person.BadSet2();
                Assert.Fail("Expected an exception");
            }
            catch (ArgumentException ex)
            {
                Assert.AreEqual("propertyName", ex.ParamName);
            }
        }