Ejemplo n.º 1
0
 public void OnChildRemoved2()
 {
     tlog.Debug(tag, $"OnChildRemoved2 START");
     try
     {
         MyElement t2 = new MyElement();
         Assert.IsNotNull(t2, "null Element");
         t2.ChildRemoved(null);
     }
     catch (ArgumentNullException e)
     {
         Assert.True(true, "Caught Exception" + e.Message.ToString());
     }
     tlog.Debug(tag, $"OnChildRemoved2 END");
 }
Ejemplo n.º 2
0
 public void OnChildRemoved()
 {
     tlog.Debug(tag, $"OnChildRemoved START");
     try
     {
         MyElement t2 = new MyElement();
         Assert.IsNotNull(t2, "null Element");
         t2.ChildRemoved(new MyElement());
     }
     catch (Exception e)
     {
         Assert.Fail("Caught Exception" + e.ToString());
     }
     tlog.Debug(tag, $"OnChildRemoved END");
 }