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

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