public void Can_add_a_bug() { var sut = new Bug(); Assert.IsNotNull(sut); }
public void Creating_a_bug_defaults_createdby_to_passed_in_user() { var sut = new Bug(1); Assert.AreEqual(1, sut.CreatedBy); }
public void Can_assign_a_bug_to_a_scenario() { var sut = new Scenario(); var bug = new Bug(); sut.Bugs.Add(bug); Assert.AreEqual(1, sut.Bugs.Count); }