public void EditableObjectModelBase_GetFailedTest() { var person = new EditablePerson(); try { person.BadGetWithDefault(); Assert.Fail("Expected an exception"); } catch (ArgumentException ex) { Assert.AreEqual("propertyName", ex.ParamName); } }
public void EditableObjectModelBase_GetFailedTest() { var person = new EditablePerson(); try { person.BadGetWithDefault(); Assert.Fail("Expected an exception"); } catch (ArgumentException ex) { Assert.AreEqual("propertyName", ex.ParamName); } }