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