示例#1
0
        public void TestToString_HasSettings()
        {
            var officeSettings = new OfficeSettings();

            officeSettings.CategoryLabel       = "cat";
            officeSettings.FocusLabel          = "foc";
            officeSettings.IsCategoryRequired  = true;
            officeSettings.IsObjectiveRequired = true;
            officeSettings.JustificationLabel  = "just";
            officeSettings.MaximumRequiredFoci = 1;
            officeSettings.MinimumRequiredFoci = 1;
            officeSettings.ObjectiveLabel      = "obj";
            Assert.IsNotNull(officeSettings.ToString());
        }
示例#2
0
        public void TestToString_NoSettings()
        {
            var officeSettings = new OfficeSettings();

            Assert.IsNotNull(officeSettings.ToString());
        }