public void CreateFolderTests_WhenCreatingRelativePathUsingWorkflowShouldUseDropLocation() { var workflow = new TestCreateFolderWorkflow(); // Create the workflow run-time environment var workflowInvoker = new WorkflowInvoker(workflow); // Set the workflow arguments workflow.DropLocation = TestContext.DeploymentDirectory; workflow.FolderName = "TestFolder1"; // Invoke the workflow and capture the outputs var output = workflowInvoker.Invoke(); var folderCreated = (string)output["FolderCreated"]; var expectedResult = Path.Combine(TestContext.DeploymentDirectory, "TestFolder1"); Assert.IsTrue(Directory.Exists(expectedResult)); Assert.AreEqual(expectedResult, folderCreated); }