public void RunTests(IEnumerable<string> sources, IRunContext runContext,
     IFrameworkHandle frameworkHandle)
 {
     SetupExecutionPolicy();
     IEnumerable<TestCase> tests = PowerShellTestDiscoverer.GetTests(sources, null);
     RunTests(tests, runContext, frameworkHandle);
 }
        public void Init()
        {
            _discoverer = new PowerShellTestDiscoverer();

            _discoveryContext = new Mock<IDiscoveryContext>();
            _sink = new Mock<ITestCaseDiscoverySink>();
            _messageLogger = new Mock<IMessageLogger>();
        }