public CorridaServiceTest()
 {
     _corridaServiceMock         = new Mock <ICorridaService>();
     _registroCorridaServiceMock = new Mock <IRegistroCorridaService>();
     _corridaService             = new CorridaService();
     _registroCorridaService     = new RegistroCorridaService();
 }
 public UploadControllerTest()
 {
     _corridaServiceMock         = new Mock <ICorridaService>();
     _corridaService             = new CorridaService();
     _registroCorridaServiceMock = new Mock <IRegistroCorridaService>();
     _bonusServiceMock           = new Mock <IBonusService>();
     _registroCorridaService     = new RegistroCorridaService();
     _uploadMock = new Mock <UploadController>();
 }
Exemplo n.º 3
0
 public CorridasController(
     ICorridaRepository corridaRepository,
     ICorridaService corridaService,
     IMapper mapper,
     INotificador notificador) : base(notificador)
 {
     _corridaRepository = corridaRepository;
     _corridaService    = corridaService;
     _mapper            = mapper;
 }
Exemplo n.º 4
0
 public CorridaController(ICorridaService corridaService)
 {
     _corridaService = corridaService;
 }
Exemplo n.º 5
0
 public UploadController(IRegistroCorridaService kartService, ICorridaService corridaServices, IBonusService bonusService)
 {
     _registroService = kartService;
     _corridaServices = corridaServices;
     _bonusService    = bonusService;
 }