internal void AppendTestCase(TestCase newTestCase, TestCasesRoot testCasesRoot)
        {
            TestCaseContainer cont = new TestCaseContainer();

            cont.Name = newTestCase.Name;
            var selValues = new SelectedValues();

            selValues.Values             = SelectedValue.CreateNew(testCasesRoot.Conditions.Count);
            cont.TestCaseConditionValues = selValues;
            selValues                 = new SelectedValues();
            selValues.Values          = SelectedValue.CreateNew(testCasesRoot.Actions.Count);
            cont.TestCaseActionValues = selValues;
            TestCaseContainers.Add(cont);
        }
        internal void CollectValues(TestCasesRoot testCasesRoot)
        {
            TestCaseContainers = new List <TestCaseContainer>();
            foreach (TestCase testCase in testCasesRoot.TestCases)
            {
                TestCaseContainer container = new TestCaseContainer();
                container.Name = testCase.Name;

                var selValues = new SelectedValues();
                selValues.Collect(testCase.Conditions);
                container.TestCaseConditionValues = selValues;

                selValues = new SelectedValues();
                selValues.Collect(testCase.Actions);
                container.TestCaseActionValues = selValues;

                TestCaseContainers.Add(container);
            }
        }