Пример #1
0
        public void ThrowDirectoryNotFound_If_SourcePath_Does_Not_Exist()
        {
            var source = "C:\asdfla";
            var copier = new Copier();

            Task.Run(() =>
            {
                Assert.ThrowsException <DirectoryNotFoundException>(async() => await copier.CopyAsync(source, _destination));
            });
        }