public override void SetUp() { project = new Project(); sprint = new Sprint(); project.VoegSprintToe(sprint); story = new Story(project, new Gebruiker(), null, StoryType.UserStory); story2 = new Story(project, new Gebruiker(), null, StoryType.UserStory); sprintStory = new SprintStory(); task = new Task(story); task2 = new Task(story2); base.SetUp(); }
/// <summary> /// Voeg eem sprintStory aan deze story toe. /// </summary> /// <param name="sprintStory">De sprintstory.</param> protected internal virtual void VoegSprintStoryToe(SprintStory sprintStory) { if (!sprintStories.Contains(sprintStory)) { sprintStories.Add(sprintStory); } sprintStory.Story = this; }
/// <summary> /// Adds the given sprintstory /// </summary> /// <param name="sprintStory">The sprintstory.</param> protected internal virtual void AddSprintStory(SprintStory sprintStory) { if (!sprintStories.Contains(sprintStory)) sprintStories.Add(sprintStory); sprintStory.Story = this; }