public async Task will_process_inline()
        {
            var tracker = new WorkTracker();

            with(_ =>
            {
                _.Services.For <WorkTracker>().Use(tracker);
            });


            var bus = Runtime.Container.GetInstance <IServiceBus>();

            var message = new Message5();

            await bus.Consume(message);

            tracker.LastMessage.ShouldBeSameAs(message);
        }
 public WorkConsumer(WorkTracker tracker)
 {
     _tracker = tracker;
 }