smallrye-reactive-messaging
smallrye-reactive-messaging copied to clipboard
Must be a QuarkusTest to use inject
This test need to be annotated with @QuarkusTest for Injection to work right?
Looks like this issue https://github.com/smallrye/smallrye-reactive-messaging/issues/1799 addresses the same issue. I also don't get access to sources or sinks from the injected InMemoryConnector instance.
How is this supposed to work?
I don't mind adding @QuarkusTest, but I would do something like:
@QuarkusTest // Or the Junit 5 extension that allows injection in tests
Yes it could be Arquillian for example
I've pushed a simple comment as I am against adding Quarkus dependency to the project.