public KeyDataStoreTests() { _fileBackedRepository = Substitute.For<IFileBackedRepository>(); IDictionary<string, string> dictionary = new Dictionary<string, string>(); _fileBackedRepository.Load() .Returns(dictionary); _keyDataStore = new KeyDataStore(_fileBackedRepository); }
public KeyDataStoreTests() { _fileBackedRepository = Substitute.For <IFileBackedRepository>(); IDictionary <string, string> dictionary = new Dictionary <string, string>(); _fileBackedRepository.Load() .Returns(dictionary); _keyDataStore = new KeyDataStore(_fileBackedRepository); }
public KeyDataStore(IFileBackedRepository fileBackedRepository) { _fileBackedRepository = fileBackedRepository; }
public KeyDataStore(IFileBackedRepository fileBackedRepository) { _fileBackedRepository = fileBackedRepository; }