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