public void RoboCopyTest()
        {
            if (Directory.Exists(@"C:\a destination"))
            {
                Directory.Delete(@"C:\a destination");    
            }

            // Initialise Instance
            var target = new TfsBuildExtensions.Activities.FileSystem.RoboCopy { Action = RoboCopyAction.Copy, Source = @"C:\a source", Destination = @"C:\a destination", Options = "/E" };

            // Create a WorkflowInvoker and add the IBuildDetail Extension
            WorkflowInvoker invoker = new WorkflowInvoker(target);
            invoker.Invoke();

            Assert.IsTrue(Directory.GetFiles(@"C:\a destination").Length > 0);
        }
        public void RoboCopyTest()
        {
            if (Directory.Exists(@"C:\a destination"))
            {
                Directory.Delete(@"C:\a destination");
            }

            // Initialise Instance
            var target = new TfsBuildExtensions.Activities.FileSystem.RoboCopy {
                Action = RoboCopyAction.Copy, Source = @"C:\a source", Destination = @"C:\a destination", Options = "/E"
            };

            // Create a WorkflowInvoker and add the IBuildDetail Extension
            WorkflowInvoker invoker = new WorkflowInvoker(target);

            invoker.Invoke();

            Assert.IsTrue(Directory.GetFiles(@"C:\a destination").Length > 0);
        }