Example #1
0
        public void CanAddFinancing()
        {
            var repo = new CarsRepository();

            Assert.AreEqual(3, repo.GetFinancing().Count);
            repo.AddFinancing("Tulips");
            Assert.AreEqual(4, repo.GetFinancing().Count);
        }
Example #2
0
        public void CanGetFinancing()
        {
            var repo = new CarsRepository();

            Assert.AreEqual(3, repo.GetFinancing().Count);
        }