BadGetNew3() public méthode

public BadGetNew3 ( ) : void
Résultat void
 public void ChangeTrackingModelBase_GetNewFailedTest3()
 {
     var person = new ChangeTrackingPerson();
     try
     {
         person.BadGetNew3();
         Assert.Fail("Expected an exception");
     }
     catch (ArgumentException ex)
     {
         Assert.AreEqual("creationFunction", ex.ParamName);
     }
 }