From 347fbf6c540724248881449e5a09e6de4dceb081 Mon Sep 17 00:00:00 2001 From: Peer Bech Hansen Date: Wed, 20 Mar 2024 11:28:32 +0100 Subject: [PATCH] Hint at using QuarkusTest to inject InMemoryConnector in tests --- documentation/src/main/java/testing/MyTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/src/main/java/testing/MyTest.java b/documentation/src/main/java/testing/MyTest.java index 6f9ee9976b..115a6e3d2e 100644 --- a/documentation/src/main/java/testing/MyTest.java +++ b/documentation/src/main/java/testing/MyTest.java @@ -12,6 +12,7 @@ import io.smallrye.reactive.messaging.memory.InMemorySink; import io.smallrye.reactive.messaging.memory.InMemorySource; +// @io.quarkus.test.junit.QuarkusTest or the Junit 5 extension that allows injection in tests public class MyTest { // 1. Switch the channels to the in-memory connector: