Example #1
0
        private void SynchronizeCacheAndLocal()
        {
            var serializeObject = JsonConvert.SerializeObject(cacheStorage);

            saver.SaveToFile(serializeObject);
        }
        public void should_save_argument_string_to_file()
        {
            wrapper.SaveToFile("Hello world");

            File.ReadAllText("someSave.txt").Should().NotBeEmpty();
        }