Beispiel #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);
 }
 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);
 }