public override void SetUp() { project = new Project(); task = new Task(); gebruiker = new User(); sprint = new Sprint(); project.AddSprint(sprint); tijd = new TimeSpan(1, 30, 00); //1,5 uur story = new Story(project, gebruiker, null, StoryType.UserStory); story.AddTask(task); base.SetUp(); }
/// <summary> /// Initializes a new instance of the <see cref="Task"/> class for the given story. /// </summary> /// <param name="story">The story.</param> public Task(Story story) { story.AddTask(this); }