/// <summary>
        /// Creates report
        /// </summary>
        /// <param name="fileName"></param>
        /// <param name="reportGenerator"></param>
        private void CreateReport(string fileName, IReportGenerator reportGenerator)
        {
            UpdateContext();

            Data.TestLogFull testLog = GetFullTestData();

            reportGenerator.OnException   += reportGenerator_OnException;
            reportGenerator.OnReportSaved += reportGenerator_OnReportSaved;

            reportGenerator.CreateReport(fileName, testLog);

            reportGenerator.OnException   -= reportGenerator_OnException;
            reportGenerator.OnReportSaved -= reportGenerator_OnReportSaved;
        }