public void SetUp() { _carActionOnCreationMock = new Mock<ICarActionOnCreation>(); _electroACtion = new Mock<IElectroCarActionOnCreation>(); _carFactory = new CarFactory(_carActionOnCreationMock.Object, _electroACtion.Object); }
public Program(CarFactory carFactory, ICarRepository repository) { MaranelloCarFactory = carFactory; CarRepository = repository; }