private void OnTestEvent(object sender, TestEventArgs e)
 {
     events.Add(e);
     if (e.Action == TestAction.RunFinished)
     {
         GotRunFinished = true;
     }
 }
 private void OnTestEvent(object sender, TestEventArgs e)
 {
     events.Add(e);
 }