public void Test_SprintAddBacklog() { var bl = new Backlog(); sut.AddBacklog(bl); Assert.True(sut.Backlog != null); }
public SprintTests() { sut = new Sprint() { Name = "Sprint 1", SprintDescription = "3 weeks to finish the rocket to the sun", StartDate = DateTime.Now, EndDate = DateTime.Now.AddMonths(1), Completed = false, Backlog = null, }; sut.AddBacklog(new Backlog()); }
public SprintTests() { sut = new Sprint() { Name = "Sprint 2", SprintDescription = "3 weeks to finish the rocket to the sun", StartDate = DateTime.Now, EndDate = DateTime.Now.AddMonths(1), Completed = false, Backlog = new List <Backlog>() { new Backlog() }, FkProjectId = 2, // FkProject = entity.ReadList<Project>(2) //needs this }; sut.AddBacklog(new Backlog()); }