BadGetNew1() 공개 메소드

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