BadSet2() public method

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