public void GetDataSetsReturnsEmptyDataSetList()
        {
            // GetDataSets() should return an empty DataSet list on newly created RuleMSX object
            RuleMSX        rmsx     = new RuleMSX();
            List <DataSet> dataSets = rmsx.getDataSets();

            Assert.That(dataSets.Count, Is.EqualTo(0));
        }
        public void InstantiateRuleMSXEmptyConstGivesEmptyRuleandDataSets()
        {
            // New instance of RuleMSX should have empty RuleSet and DataSet collections
            RuleMSX rmsx = new RuleMSX();

            Assert.That(rmsx.getRuleSets().Count, Is.EqualTo(0));
            Assert.That(rmsx.getDataSets().Count, Is.EqualTo(0));
        }
        public void GetDataSetsReturnsDataSetCollection()
        {
            RuleMSX rmsx           = new RuleMSX();
            string  newDataSetName = "NewDataSet";

            rmsx.createDataSet(newDataSetName);
            List <DataSet> dsl = rmsx.getDataSets();
            DataSet        ds  = dsl[0];

            Assert.That(ds.getName(), Is.EqualTo(newDataSetName));
        }