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