public void TestStepFinished_Test()
        {
            var testStepRun = new TestStepRun(new TestStepData("root", "name", "fullName", "root"))
            {
                TestLog = new StructuredDocument()
            };

            testStepRun.TestLog.Attachments.Add(new TextAttachment("name", "contentType", "text").ToAttachmentData());

            var report = new Report
            {
                TestPackageRun = new TestPackageRun(),
                TestModel      = new TestModelData()
            };

            report.TestPackageRun.RootTestStepRun = testStepRun;

            testController.Stub(x => x.ReadReport(null)).IgnoreArguments().Do((Action <ReadAction <Report> >)(action => action(report)));
            testTreeModel.Stub(x => x.Root).Return(new TestTreeNode("root", "root"));

            var flag = false;

            executionLogController.ExecutionLogUpdated += (sender, e) =>
            {
                Assert.Count(1, e.TestStepRuns);
                flag = true;
            };
            var testData = new TestData("root", "name", "fullName")
            {
                IsTestCase = true
            };

            executionLogController.Handle(new TestStepFinished(testData, null));

            Assert.IsTrue(flag);
        }