Esempio n. 1
0
        private void RestoreFileContent()
        {
            _dataFile.Value.Returns(new Datafile {
                FileName = ProductsFileName
            });
            var sut = CreateFileHandler();

            sut.Write(SampleProducts.CreateProducts2());
        }
Esempio n. 2
0
        public static void RestoreFileContent()
        {
            var sut = CreateFileHandler();

            sut.Write(SampleProducts.CreateProducts2());
        }