Пример #1
0
 public CryptocurrencyQuotesController(IGetCurrentQuotesForCryptocurrency getCurrentQuotesForCryptocurrencyUseCase)
 {
     _getCurrentQuotesForCryptocurrencyUseCase = getCurrentQuotesForCryptocurrencyUseCase;
 }
Пример #2
0
 public GetCurrentQuotesForCryptocurrencyTests()
 {
     _fakeExchangeRatesService = new Mock <IExchangeRatesService>();
     _useCase = QuotesServicesFactory.UseCases.GetCurrentQuotesForCryptocurrency.Create(_fakeExchangeRatesService.Object);
 }