public void CopyDirectory() { var t = new CopyDirectoryTask(_source, _dest, DestinationCleanOptions.None, new DotNetPath()); t.Execute(); var s = File.ReadAllText(_path.Combine(_dest, "test.txt")); Assert.AreEqual("the test\r\n", s); }
public override void Because() { task.Execute(); }