public void Init()
 {
     var solution = resharper::JetBrains.ProjectModel.SolutionManager.Instance.CurrentSolution;
     _runner = new TestRunner(
         new LegacyShellThreading(),
         resharper::JetBrains.ActionManagement.ActionManager.Instance,
         resharper::JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisManager.GetInstance(solution),
         solution
         );
 }
 public void BeforeSolutionClosed()
 {
     _runner.Dispose();
     _runner = null;
 }