public RequestsServiceTest() { _uow = Substitute.For <IUnitOfWork>(); _repository = Substitute.For <IRequestRepository>(); _mapper = Substitute.For <IRequestsMapper>(); _requestsService = new RequestsService(_uow, _repository, _mapper); }
public RequestsMapperTest() { _mapper = new RequestsMapper(); }
public RequestsService(IUnitOfWork uow, IRequestRepository repo, IRequestsMapper mapper) : base(uow) { _repo = repo; _mapper = mapper; }