Exemplo n.º 1
0
 public ChangesStoreShould()
 {
     _changesService    = new Services.ChangesService();
     _httpClientUtility = new FileUtilityMock();
     _fileUtility       = new FileUtilityMock();
     _changesCache      = Create.MockedMemoryCache();
     _configuration     = new ConfigurationBuilder()
                          .AddJsonFile(Path.Join(Environment.CurrentDirectory, "TestFiles", "appsettingstest.json"))
                          .Build();
     _changesStore = new ChangesStore(_configuration, _changesCache, _changesService, _httpClientUtility, _fileUtility);
 }
Exemplo n.º 2
0
 public ChangeLogRecordsModelShould()
 {
     _changesService = new Services.ChangesService();
 }