public void Can_assign_a_task_to_a_card() { var sut = new Card(); var task = new Task(); sut.Tasks.Add(task); Assert.AreEqual(1, sut.Tasks.Count); }
public void Creating_a_task_defaults_createdby_to_passed_in_user() { var sut = new Task(1); Assert.AreEqual(1, sut.CreatedBy); }
public void Can_add_a_task() { var sut = new Task(); Assert.IsNotNull(sut); }