public void RaiseTestResultShouldNotFlushIfTestCaseEndWasNotCalledBefore()
        {
            var testResult = new VisualStudio.TestPlatform.ObjectModel.TestResult(this.testCase);

            this.dataCollectionTestCaseEventManager.RaiseTestResult(new TestResultEventArgs(testResult));

            var allowFlush = testResult.GetPropertyValue <bool>(DataCollectionTestCaseEventManager.FlushResultTestResultPoperty, true);

            Assert.IsFalse(allowFlush, "TestResult must not be flushed");
        }