public void ListenRequestAndResponse() { var target = new MessageBus(); var requestChannel = target.GetRequestChannel <TestRequest, TestResponse>(); requestChannel.Listen(l => l .WithTopic("Test") .Invoke(req => new TestResponse { Text = req.Text + "Responded" })); var response = requestChannel.RequestWait("Test", new TestRequest { Text = "Request" }); response.Should().NotBeNull(); response.Text.Should().Be("RequestResponded"); }