Пример #1
0
        public void Can_assign_a_priority_level_template_to_a_board()
        {
            var sut = new Board();
            var priorityLevel = new PriorityLevelTemplate { Id = 1, Name = "Default" };

            sut.PriorityLevelTemplate = priorityLevel;

            Assert.AreEqual("Default", sut.PriorityLevelTemplate.Name);
        }
Пример #2
0
        public void Can_add_a_priority_level_to_a_priority_level_template()
        {
            var sut = new PriorityLevelTemplate();
            var priorityLevel = new PriorityLevel();

            sut.PriorityLevels.Add(priorityLevel);

            Assert.AreEqual(1, sut.PriorityLevels.Count);
        }