public void OpenTestSuite_Id()
        {
            var          expectedResultName = string.Empty;
            const string expectedResultId   = "suite id";

            UnitTestingHelper.GetNewTestSuite(string.Empty, expectedResultId, string.Empty);
            UnitTestingHelper.GetNewTestSuite(string.Empty, "any id", string.Empty);
            UnitTestingHelper.GetExistingTestSuite(expectedResultName, expectedResultId);
            MbUnit.Framework.Assert.AreEqual(
                expectedResultId,
                ((ITestSuite)(object)UnitTestOutput.LastOutput[0]).Id);
        }
        public void OpenTestSuite_Name()
        {
            const string expectedResultName = "suite name";
            var          expectedResultId   = string.Empty;

            UnitTestingHelper.GetNewTestSuite(expectedResultName, expectedResultId, string.Empty);
            UnitTestingHelper.GetNewTestSuite("any suite", string.Empty, string.Empty);
            UnitTestingHelper.GetExistingTestSuite(expectedResultName, expectedResultId);
            MbUnit.Framework.Assert.AreEqual(
                expectedResultName,
                ((ITestSuite)(object)UnitTestOutput.LastOutput[0]).Name);
        }
        public void OpenTestSuite_WrongId()
        {
            var          expectedResultName = string.Empty;
            const string expectedResultId   = "suite id";

            UnitTestingHelper.GetNewTestSuite(string.Empty, "wrong id", string.Empty);
            UnitTestingHelper.GetNewTestSuite(string.Empty, "any id", string.Empty);
            UnitTestingHelper.GetExistingTestSuite(expectedResultName, expectedResultId);
            MbUnit.Framework.Assert.AreNotEqual(
                expectedResultId,
                // 20140715
                // ((ITestSuite)(object)UnitTestOutput.LastOutput[0]).Id);
                ((ErrorRecord)(object)UnitTestOutput.LastOutput[0]).Exception.Message);
        }
        public void OpenTestSuite_WrongName()
        {
            const string expectedResultName = "suite name";
            var          expectedResultId   = string.Empty;

            UnitTestingHelper.GetNewTestSuite("wrong name", expectedResultId, string.Empty);
            UnitTestingHelper.GetNewTestSuite("any suite", string.Empty, string.Empty);
            UnitTestingHelper.GetExistingTestSuite(expectedResultName, expectedResultId);
            MbUnit.Framework.Assert.AreNotEqual(
                expectedResultName,
                // 20140715
                // ((ITestSuite)(object)UnitTestOutput.LastOutput[0]).Name);
                ((ErrorRecord)(object)UnitTestOutput.LastOutput[0]).Exception.Message);
        }