Exemple #1
0
 public AnimalComportamentoAppServiceTests()
 {
     _animalComportamentoService = Substitute.For <IAnimalComportamentoService>();
     _mapper = Substitute.For <IMapper>();
     _uow    = Substitute.For <IUnitOfWork>();
     animalComportamentoAppService = new AnimalComportamentoAppService(_uow, _mapper, _animalComportamentoService);
 }
 public AnimalComportamentoAppService(IUnitOfWork uow, IMapper mapper, IAnimalComportamentoService animalComportamentoService) : base(uow)
 {
     _uow    = uow;
     _mapper = mapper;
     _animalComportamentoService = animalComportamentoService;
 }