Ejemplo n.º 1
0
        public void Should_respond_after_changing_qos()
        {
            LocalBus.SetPrefetchCount(197);

            bool result = LocalBus.GetEndpoint(LocalBus.Endpoint.Address.Uri)
                          .SendRequest <PingMessage>(new PingImpl(), LocalBus, req =>
            {
                req.Handle <PongMessage>(x => { });
                req.SetTimeout(10.Seconds());
            });

            result.ShouldBeTrue("No response was received.");
        }