public void Delete_Repo_OneRepoMinusReturned()
        {
            //arrange
            var testContext = CreateContextWithTestData();
            var repo        = new FakeGenericRepository(testContext);
            int deletedID   = 2;

            //act
            var actual = repo.Get(x => x.CarModelID == deletedID);

            repo.Delete(deletedID);
            var expected = repo.Get(x => x.CarModelID == deletedID);

            //asert
            Assert.AreNotEqual(expected, actual);
        }
        public void Delete_Repos_SomeReposDeleteReturned()
        {
            //arrange
            var testContext       = CreateContextWithTestData();
            var repo              = new FakeGenericRepository(testContext);
            List <CarModels> list = new List <CarModels>
            {
                new CarModels {
                    CarModelID = 3, ManufactorID = 4, Name = "Three"
                }
            };

            //act
            var actual = repo.Get(x => x.CarModelID == 3);

            repo.Delete(list);
            var expected = repo.Get(x => x.CarModelID == 3);

            //asert
            Assert.AreNotEqual(expected, actual);
        }