BadGet() public method

public BadGet ( ) : void
return void
 public void ChangeTrackingModelBase_GetFailedTest2()
 {
     var person = new ChangeTrackingPerson();
     try
     {
         person.BadGet();
         Assert.Fail("Expected an exception");
     }
     catch (ArgumentException ex)
     {
         Assert.AreEqual("propertyName", ex.ParamName);
     }
 }