Ejemplo n.º 1
0
 public void ConfigureOutputGateway_True()
 {
     _subject = new ServiceProcessor(_mockIdentification.Object,
                                     _mockInputGateway.Object,
                                     _mockHandlerRepository.Object,
                                     _messageBuilder.Object,
                                     ReinjectionEngineFactory.CreateDefaultEngine(_mockInputGateway.Object));
     _subject.ConfigureOutputGateway(_mockOutputGateway.Object);
     Assert.AreEqual(_subject.Status, ProcessorStatus.Configured);
 }
Ejemplo n.º 2
0
 public void ConfigureOutputGateway_True()
 {
     _subject = new ServiceProcessor(_mockIdentification.Object,
                                     _mockInputGateway.Object,
                                     _mockHandlerRepository.Object,
                                     _messageBuilder.Object,
                                     ReinjectionEngineFactory.CreateDefaultEngine(_mockInputGateway.Object));
     _subject.ConfigureOutputGateway(_mockOutputGateway.Object);
     Assert.AreEqual(_subject.Status, ProcessorStatus.Configured);
 }