public void Can_add_a_complexity_level_template() { var sut = new ComplexityLevelTemplate { Name = "Default", DisplayName = "Story Points" }; Assert.IsNotNull(sut); Assert.AreEqual("Default", sut.Name); Assert.AreEqual("Story Points", sut.DisplayName); }
public void Can_add_a_complexity_level_to_a_complexity_level_template() { var sut = new ComplexityLevelTemplate(); var complexityLevel = new ComplexityLevel(); sut.ComplexityLevels.Add(complexityLevel); Assert.AreEqual(1, sut.ComplexityLevels.Count); }
public void Can_assign_a_complexity_level_template_to_a_board() { var sut = new Board(); var complexityLevel = new ComplexityLevelTemplate { Id = 1, Name = "Default" }; sut.ComplexityLevelTemplate = complexityLevel; Assert.AreEqual("Default", sut.ComplexityLevelTemplate.Name); }