예제 #1
0
        protected override async Task When()
        {
            var busEvent = new SomeConcreteEventType();
            await Bus.Publish(busEvent);

            await Timeout.WaitUntil(() => MethodCallCounter.AllReceivedMessages.Count() >= 2);
        }
 protected override async Task When()
 {
     var busEvent = new SomeConcreteEventType();
     await Bus.Publish(busEvent);
     await Timeout.WaitUntil(() => MethodCallCounter.AllReceivedMessages.Count() >= 2);
 }