예제 #1
0
        public async Task Should_succeed()
        {
            await SecondBus.Publish(new PingMessage());

            await _handler;

            await _secondHandler;
        }
예제 #2
0
        public async Task Should_get_both_messages()
        {
            var scheduler = SecondBus.CreateServiceBusMessageScheduler();

            await scheduler.SchedulePublish(DateTime.Now, new FirstMessage());

            await _first;

            await _second;
        }
예제 #3
0
 public void Setup()
 {
     _requestClient = SecondBus.CreateRequestClient <PingMessage>(InputQueueAddress, TestTimeout);
 }