Skip to content

Commit

Permalink
Hint at using QuarkusTest to inject InMemoryConnector in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bechhansen authored and ozangunalp committed Mar 27, 2024
1 parent e60f0ac commit 347fbf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions documentation/src/main/java/testing/MyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 347fbf6

Please sign in to comment.