Пример #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");
 }
Пример #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");
 }