public void CanAddDeal() { var repo = new CarModelRepository(); Assert.AreEqual(3, repo.GetSpecialOffers().Count); repo.AddDeal(new Special() { SpecialMessage = "gogog" }); Assert.AreEqual(4, repo.GetSpecialOffers().Count); }
public void CanAddDeal() { var repo = new CarModelRepository(); Assert.AreEqual(3, repo.GetSpecialOffers().Count); repo.AddDeal(new Special() { SpecialMessage = "gogog" }); Assert.AreEqual(4, repo.GetSpecialOffers().Count); }