예제 #1
0
        public void CanMarkSold()
        {
            var repo = new CarsRepository();

            Assert.AreEqual(0, repo.GetAllSold().Count);
            repo.MarkSold(1);
            Assert.AreEqual(1, repo.GetAllSold().Count);
        }