public void EditableObjectModelCollection_GetFailedTest()
        {
            var person = new EditablePersonCollection();

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