public void AddTestScenario_NoTestSuites_Id()
        {
            const string expectedResultId = "scenario id";
            var          testScenario     =
                UnitTestingHelper.AddTestScenario(null, string.Empty, expectedResultId, string.Empty, string.Empty, string.Empty);

            MbUnit.Framework.Assert.AreEqual(
                expectedResultId,
                testScenario.Id);
        }
        public void AddTestScenario_NoTestSuites_Name()
        {
            const string expectedResultName = "scenario";
            var          testScenario       =
                UnitTestingHelper.AddTestScenario(null, expectedResultName, string.Empty, string.Empty, string.Empty, string.Empty);

            MbUnit.Framework.Assert.AreEqual(
                expectedResultName,
                testScenario.Name);
        }
        public void AddTestScenario_CurrentTestSuite_Name()
        {
            const string expectedResultName = "scenario";

            UnitTestingHelper.GetNewTestSuite("suite", "suite id", string.Empty);
            var testScenario =
                UnitTestingHelper.AddTestScenario(null, expectedResultName, string.Empty, string.Empty, string.Empty, string.Empty);

            MbUnit.Framework.Assert.AreEqual(
                expectedResultName,
                testScenario.Name);
        }
        public void AddTestScenario_TestSuiteId_Id()
        {
            const string expectedResultId = "scenario id";
            var          testSuite        =
                // 20140715
                UnitTestingHelper.GetNewTestSuite("suite", "suite id", string.Empty) as ITestSuite;
            var testScenario =
                UnitTestingHelper.AddTestScenario(null, string.Empty, expectedResultId, string.Empty, string.Empty, testSuite.Id);

            MbUnit.Framework.Assert.AreEqual(
                expectedResultId,
                testScenario.Id);
        }
        public void AddTestScenario_TestSuiteInPipeline_Name()
        {
            const string expectedResultName = "scenario";
            var          testSuite          =
                // 20131127
                //(ITestSuite)
                // 20140715
                UnitTestingHelper.GetNewTestSuite("suite", "suite id", string.Empty) as ITestSuite;
            var testScenario =
                UnitTestingHelper.AddTestScenario(testSuite, expectedResultName, string.Empty, string.Empty, string.Empty, string.Empty);

            MbUnit.Framework.Assert.AreEqual(
                expectedResultName,
                testScenario.Name);
        }