public void SetUp() { _fileServiceMock = new Mock <IFileService>(); _jsonSerializerMock = new Mock <IJsonSerializer>(); _fileMock = new Mock <IFile>(); _sut = new DefaultJsonFileCacheTrackerStore( new JsonFileCacheTrackerStoreOptions { FileName = "My test file" }, _fileServiceMock.Object, _jsonSerializerMock.Object); }
public DefaultCacheEntryTracker(ILogger <ICacheEntryTracker> log, ICacheTrackerStore cacheTrackerStore) { _log = log; _cacheTrackerStore = cacheTrackerStore; }