public void HandleDiscoveredTests(IEnumerable <TestCase> discoveredTestCases)
 {
     if (discoveredTestCases != null)
     {
         DiscoveredTestCases.AddRange(discoveredTestCases);
     }
 }
        public void HandleDiscoveryComplete(long totalTests, IEnumerable <TestCase> lastChunk, bool isAborted)
        {
            if (lastChunk != null)
            {
                DiscoveredTestCases.AddRange(lastChunk);
            }

            Aborted = isAborted;
            _waitHandle.Set();
        }