Beispiel #1
0
        public void TestNumVehiclesIsCorrectWhenClearing()
        {
            //Arrange

            foreach (var vehicle in list)
            {
                garageRepository.Add(vehicle);
            }

            //Act

            garageRepository.Clear();

            //Assert

            Assert.AreEqual(0, garageRepository.Occupied);
        }