public void AddDriverToRepository() { DriverRepository driverRepository = new DriverRepository(); Driver driver = new Driver(); List <Driver> drivers = new List <Driver>(); driverRepository.AddNewDriverToSystem(driver); int expected = 1; int actual = driverRepository.ReturnListOfDrivers().Count; Assert.AreEqual(expected, actual); }