public async void Should_properly_send_the_message() { Task <ConsumeContext <A> > handlerA = SubscribeHandler <A>(); Task <ConsumeContext <IA> > handlerIA = SubscribeHandler <IA>(); await Bus.ScheduleMessage(DateTime.UtcNow + TimeSpan.FromSeconds(1), new A { Name = "Joe" }); await handlerA; ConsumeContext <IA> context = await handlerIA; Assert.IsTrue(context.GetQuartzSent().HasValue); }