BadSet1() 공개 메소드

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