public static ExceptionAggregator GetCleanupAggregator(this KuduXunitTheoryTestCaseRunner runner)
        {
            var field = typeof(XunitTheoryTestCaseRunner).GetField("cleanupAggregator", BindingFlags.Instance | BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Public);

            return((ExceptionAggregator)field.GetValue((XunitTheoryTestCaseRunner)runner));
        }
        public static List <IDisposable> GetToDispose(this KuduXunitTheoryTestCaseRunner runner)
        {
            var field = typeof(XunitTheoryTestCaseRunner).GetField("toDispose", BindingFlags.Instance | BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Public);

            return((List <IDisposable>)field.GetValue((XunitTheoryTestCaseRunner)runner));
        }
        public static Exception GetDataDiscoveryException(this KuduXunitTheoryTestCaseRunner runner)
        {
            var field = typeof(XunitTheoryTestCaseRunner).GetField("dataDiscoveryException", BindingFlags.Instance | BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Public);

            return((Exception)field.GetValue((XunitTheoryTestCaseRunner)runner));
        }
        public static List <XunitTestRunner> GetTestRunners(this KuduXunitTheoryTestCaseRunner runner)
        {
            var field = typeof(XunitTheoryTestCaseRunner).GetField("testRunners", BindingFlags.Instance | BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Public);

            return((List <XunitTestRunner>)field.GetValue((XunitTheoryTestCaseRunner)runner));
        }
        public static RunSummary RunTest_DataDiscoveryException(this KuduXunitTheoryTestCaseRunner runner)
        {
            var method = typeof(XunitTheoryTestCaseRunner).GetMethod("RunTest_DataDiscoveryException", BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public);

            return((RunSummary)method.Invoke((XunitTheoryTestCaseRunner)runner, new object[0]));
        }