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

            _fileBackedRepository.Load()
            .Returns(dictionary);
            _keyDataStore = new KeyDataStore(_fileBackedRepository);
        }