public async Task Should_succeed() { await SecondBus.Publish(new PingMessage()); await _handler; await _secondHandler; }
public async Task Should_get_both_messages() { var scheduler = SecondBus.CreateServiceBusMessageScheduler(); await scheduler.SchedulePublish(DateTime.Now, new FirstMessage()); await _first; await _second; }
public void Setup() { _requestClient = SecondBus.CreateRequestClient <PingMessage>(InputQueueAddress, TestTimeout); }