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

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

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