Exemple #1
0
            public void Should_create_an_Excel_file_if_it_doesnot_exists()
            {
                _fileService.Expect(x => x.Exists(Testfile)).Return(true);
                _dataProvider.Expect(x => x.GetTableNames()).Return(new List <string>());

                _excelRepository.Save(_users);
                _fileService.AssertWasNotCalled(x => x.Create(Testfile));
            }