public void Constructor_WorkflowConfigDoesntExist_RetursFalse() { var workflow = new WorkflowConfig("a", null); var runner = new DaprWorkflowExecutor(new List <WorkflowConfig>() { workflow }, null); var exists = runner.WorkflowExists("b"); Assert.False(exists); }
public void Constructor_WorkflowConfigExists_ReturnsTrue() { var workflow = new WorkflowConfig("a", null); var runner = new DaprWorkflowExecutor(new List <WorkflowConfig>() { workflow }, null); var exists = runner.WorkflowExists("a"); Assert.True(exists); }