public override void AfterTest(ITest test)
 {
     if (test == null)
     {
         throw new ArgumentNullException(nameof(test));
     }
     if (test.IsSuite)
     {
         ServiceHostActivator.Dispose();
     }
 }
 public override void AfterTest(ITest test)
 {
     ServiceHostActivator.Dispose();
 }