public void Fluently_assigning_workflow_logger_returns_configuration() { var sut = new FakeWorkflowConfiguration(); var result = sut.WithLogger(new FakeWorkflowLogger()); Assert.Equal(sut, result); }
public void You_can_fluently_assign_the_workflow_logger(IWorkflowLogger logger) { var sut = new FakeWorkflowConfiguration(); sut.WithLogger(logger); Assert.Equal(logger, sut.Logger); }