Пример #1
0
        public void EditableObjectModelBase_GetNewFailedTest5()
        {
            var person = new EditablePerson();

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