InvokeBadPropertyMessage() public method

public InvokeBadPropertyMessage ( ) : void
return void
 public void ChangeTrackingModelBase_PropertyChangedTest()
 {
     var person = new ChangeTrackingPerson();
     try
     {
         person.InvokeBadPropertyMessage();
         Assert.Fail("Expected an exception");
     }
     catch (ArgumentOutOfRangeException ex)
     {
         Assert.AreEqual("propertyName", ex.ParamName);
         Assert.AreEqual("Boom", ex.ActualValue);
     }
 }