public void HandlersAreAddedBeforeSubscriberStartup()
 {
     Received.InOrder(() =>
     {
         _subscriber.AddMessageHandler(Arg.Any <Func <IHandlerAsync <Message> > >());
         _subscriber.AddMessageHandler(Arg.Any <Func <IHandlerAsync <Message2> > >());
         _subscriber.Listen(default);
Ejemplo n.º 2
0
 public void HandlersAreAddedBeforeSubscriberStartup()
 {
     Received.InOrder(() =>
     {
         _subscriber.AddMessageHandler(Arg.Any <IHandler <Message> >());
         _subscriber.AddMessageHandler(Arg.Any <IHandler <Message> >());
         _subscriber.Listen();
     });
 }