public DeferredOutboundConnectorTests()
 {
     _queue     = new InMemoryOutboundQueue();
     _connector = new DeferredOutboundConnector(_queue, new NullLogger <DeferredOutboundConnector>(),
                                                new MessageLogger());
     _transactionManager = new DeferredOutboundConnectorTransactionManager(_queue);
     InMemoryOutboundQueue.Clear();
 }
 public DeferredOutboundConnectorTests()
 {
     _queue     = new InMemoryOutboundQueue();
     _connector = new DeferredOutboundConnector(_queue, new NullLogger <DeferredOutboundConnector>(),
                                                new MessageLogger(new MessageKeyProvider(new[] { new DefaultPropertiesMessageKeyProvider() })));
     _transactionManager = new DeferredOutboundConnectorTransactionManager(_queue);
     InMemoryOutboundQueue.Clear();
 }