public void set_the_chain_execution_log()
        {
            var source = new Dictionary<string, object>();
            source.Log().ShouldBeNull();

            var log = new ChainExecutionLog();

            source.Log(log);

            source.RequestId().ShouldBe(log.Id.ToString());

            source.Log().ShouldBeSameAs(log);
        }
        public void register_the_execution_log_if_it_exists()
        {
            var log = new ChainExecutionLog();
            var environment = new Dictionary<string, object>();
            environment.Log(log);

            var routeData = new RouteData();

            var arguments = new OwinServiceArguments(routeData, environment);

            arguments.Get<IChainExecutionLog>()
                .ShouldBeSameAs(log);
        }