public void Init() { unitOfWork = new UnitOfWorkMock(); mailHelper = new MailHelperMock(); jwtDecoder = new JwtDecoderMock(); encrypter = new EncrypterMock(); cache = new CacheMock(); controller = new UserApiController(unitOfWork, mailHelper, new ApiClientMock(), jwtDecoder, encrypter, cache); controller.Request = new HttpRequestMessage(); }
public void Init() { unitOfWork = new UnitOfWorkMock(); mailHelper = new MailHelperMock(); pdfManager = new PdfManagerMock(); jwtDecoder = new JwtDecoderMock(); apiClient = new ApiClientMock(); request = new HttpRequestMessage(); webClient = new WebClientMock(); cache = new CacheMock(); controller = new InvoiceHistoryApiController(unitOfWork, mailHelper, apiClient, pdfManager, webClient, jwtDecoder, cache); controller.Request = new HttpRequestMessage(); }