public void Setup() { _fixture = new Fixture(); _elevatorMessagePublisher = new Mock <IElevatorMessagePublisher>(); _aggregateRepository = new Mock <IAggregateRepository>(); _elevatorValidationHelper = new Mock <IElevatorsValidationHelper>(); _sut = new ElevatorApiSerivce( _elevatorMessagePublisher.Object, _aggregateRepository.Object, _elevatorValidationHelper.Object); }
public ElevatorsController(IElevatorsApiService elevatorsApiService) { _elevatorsApiService = elevatorsApiService; }