Ejemplo n.º 1
0
        public void Fluently_assigning_workflow_logger_returns_configuration()
        {
            var sut = new FakeWorkflowConfiguration();

            var result = sut.WithLogger(new FakeWorkflowLogger());

            Assert.Equal(sut, result);
        }
Ejemplo n.º 2
0
        public void You_can_fluently_assign_the_workflow_logger(IWorkflowLogger logger)
        {
            var sut = new FakeWorkflowConfiguration();

            sut.WithLogger(logger);

            Assert.Equal(logger, sut.Logger);
        }