public void ConsolidateTest()
        {
            ConsolidatorSettings.AddOrUpdateKey("SelectedOptions", new HashSet<String> { "Loop", "Parallelism", "Events", "Min. Number of Events" });
            ConsolidatorSettings.AddOrUpdateKey("SelectedEvents", new HashSet<String>());
            ConsolidatorSettings.AddOrUpdateKey("NumberOfEvents", 1);
            ConsolidatorSettings.AddOrUpdateKey("AndOrSelection", 1);

            HashSet<Field> listOfMatrixFields = new HashSet<Field>();

            foreach (Field currentField in Model.MatrixFields)
                listOfMatrixFields.Add(currentField);

            StandardConsolidator target = new StandardConsolidator(listOfMatrixFields);
            HashSet<Field> actual = target.Consolidate();

            Assert.AreEqual(actual.Count, 7);

            ConsolidatorSettings.AddOrUpdateKey("SelectedOptions", new HashSet<String> { "Loop"});
            target = new StandardConsolidator(listOfMatrixFields);
            actual = target.Consolidate();

            Assert.AreEqual(actual.Count, 2);

            ConsolidatorSettings.AddOrUpdateKey("SelectedOptions", new HashSet<String> { "Parallelism" });
            target = new StandardConsolidator(listOfMatrixFields);
            actual = target.Consolidate();

            Assert.AreEqual(actual.Count, 0);
        }
        public void StandardConsolidatorConstructorTest()
        {
            HashSet<Field> listOfMatrixFields = new HashSet<Field>();

            foreach (Field currentField in Model.MatrixFields)
                listOfMatrixFields.Add(currentField);

            StandardConsolidator target = new StandardConsolidator(listOfMatrixFields);
            Assert.IsNotNull(target);
        }