Beispiel #1
0
 public Router()
 {
     //poor man's DI..
     CommandToHandlerMapper = new CommandToHandlerMapper(new HandlerProvider());
 }
 public void BeforeEachTest()
 {
     _handlerDiscovererMock = new Mock<IHandlerProvider>();
     _commandToHandlerMapper = new CommandToHandlerMapper(_handlerDiscovererMock.Object);
 }