public void primitive_type_is_used_as_return_value()
        {
            var handler      = new HandlerWithRouteReturningPrimitive();
            var subscription = _builder.BuildSubscriptions(handler).First();

            subscription.Push("Hello");

            subscription.Handles(typeof(string)).ShouldBeTrue();
            handler.MsgCall.ShouldBeEqualTo(1);
            _bus.VerifyMessageIsOfType <int>();
        }
        public void primitive_type_is_used_as_return_value()
        {
            var handler = new HandlerWithRouteReturningPrimitive();
            var subscription = _builder.BuildSubscriptions(handler).First();

            subscription.Push("Hello");

            subscription.Handles(typeof(string)).ShouldBeTrue();
            handler.MsgCall.ShouldBeEqualTo(1);
            _bus.VerifyMessageIsOfType<int>();
        }