public void CanAddStates() { var repo = new CarsRepository(); Assert.AreEqual(3, repo.GetStates().Count); repo.AddState(new State() { StateName = "bob" }); Assert.AreEqual(4, repo.GetStates().Count); }
public void CanGetStates() { var repo = new CarsRepository(); Assert.AreEqual(3, repo.GetStates().Count); }