示例#1
0
        public void Test_ExportTours()
        {
            _tourDalMock.Setup(s => s.GetTours()).Returns(_tourList);

            _tourService.ExportTours(_directory, _filename);

            Assert.True(File.Exists(_directory + _filename));
        }