public CachedLookupServiceTests() { _mockHttpCallsHandler = new Mock <IHttpCallsHandler>(); _mockDistributedCache = new Mock <IDistributedCache>(); _dummyCountriesData = new DummyCountriesData(); _cachedLookupService = new CachedLookupService(_mockHttpCallsHandler.Object, _mockDistributedCache.Object); }
public CountriesServiceTests() { _dummyCountriesData = new DummyCountriesData(); _mockCachedLookupService = new Mock <ICachedLookupService>(); _countriesService = new CountriesService(_mockCachedLookupService.Object, ""); }
public CountryControllerTests() { _dummyCountriesData = new DummyCountriesData(); _mockCountriesService = new Mock <ICountriesService>(); _controller = new CountryController(_mockCountriesService.Object); }