orpiske commented on code in PR #9339: URL: https://github.com/apache/camel/pull/9339#discussion_r1104822787
########## test-infra/camel-test-infra-core/src/test/java/org/apache/camel/test/infra/core/api/CamelTestSupportHelper.java: ########## @@ -30,7 +31,7 @@ public interface CamelTestSupportHelper { default <T extends Endpoint> T getMandatoryEndpoint(String uri, Class<T> type) { T endpoint = getCamelContextExtension().getContext().getEndpoint(uri, type); - assert endpoint != null : "No endpoint found for uri: " + uri; Review Comment: I am fine with either assert or ObjectHelper here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org