/// <summary> /// Separated out for testability /// </summary> public PublishingReply PublishCommandExecute_Implementation(IWorkflowsQueryService client, WorkflowItem workflow) { // Now, start the Publish process. In general this may take arbitrarily long. return client.PublishWorkflow(new PublishingRequest { Incaller = Environment.UserName, IncallerVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(), WorkflowName = workflow.Name, WorkflowVersion = workflow.Version }); }