예제 #1
0
        public void CopyFiles_Should_Copy_Files_Between_Two_Directories()
        {
            using (FileStream stream = File.Create(Path.Combine(_path, _testFolder, _sourceFolder, "file.txt"))){};

            _sut.CopyFiles(Path.Combine(_path, _testFolder, _sourceFolder), Path.Combine(_path, _testFolder, _destinationFolder));

            Assert.IsTrue(Directory.GetFiles(Path.Combine(_path, _testFolder, _destinationFolder)).Any());
        }