Пример #1
0
        private IPersistentStorage GetStorage(Solution solution)
        {
            var storage = new PersistentStorageService(_persistentEnabledOptionService, testing: true).GetStorage(solution);

            Assert.NotEqual(PersistentStorageService.NoOpPersistentStorageInstance, storage);
            return(storage);
        }
Пример #2
0
        private IPersistentStorage GetStorage(Solution solution)
        {
            var storage = new PersistentStorageService(_persistentEnabledOptionService, testing: true).GetStorage(solution);

            Assert.NotEqual(PersistentStorageService.NoOpPersistentStorageInstance, storage);
            return storage;
        }