Exemplo n.º 1
0
        private static IMessageBus CreateMessageBus(IMessageSink messageSink, ITestFrameworkExecutionOptions executionOptions)
        {
            if (executionOptions.SynchronousMessageReportingOrDefault())
            {
                return(new SynchronousMessageBus(messageSink));
            }

            return(new MessageBus(messageSink));
        }
        private IMessageBus CreateMessageBus(IMessageSink messageSink, ITestFrameworkExecutionOptions executionOptions)
        {
            if (executionOptions.SynchronousMessageReportingOrDefault())
            {
                return new SynchronousMessageBus(messageSink);
            }

            return new MessageBus(messageSink);
        }