public void Can_assign_a_lane_template_to_a_board() { var sut = new Board(); var template = new LaneTemplate { Id = 1, Name = "Default" }; sut.LaneTemplate = template; Assert.AreEqual("Default", sut.LaneTemplate.Name); }
public void Can_add_a_lane_to_a_lane_template() { var sut = new LaneTemplate(); var lane = new Lane(); sut.Lanes.Add(lane); Assert.AreEqual(1, sut.Lanes.Count); }