You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/11 10:54:08 UTC

[GitHub] [camel] essobedo commented on a diff in pull request #8513: CAMEL-18601: Add assertMockEndpointsSatisfied to junit5 CamelTestSupport

essobedo commented on code in PR #8513:
URL: https://github.com/apache/camel/pull/8513#discussion_r992161978


##########
components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java:
##########
@@ -982,6 +983,27 @@ protected Language assertResolveLanguage(String languageName) {
         return language;
     }
 
+    /**
+     * Asserts that all the expectations of the Mock endpoints are valid
+     *
+     * @see MockEndpoint#assertIsSatisfied(CamelContext)
+     */
+    protected void assertMockEndpointsSatisfied() throws InterruptedException {
+        MockEndpoint.assertIsSatisfied(context);
+    }
+
+    /**
+     * Asserts that all the expectations of the Mock endpoints are valid
+     *
+     * @see           MockEndpoint#assertIsSatisfied(CamelContext, long, TimeUnit)
+     *
+     * @param timeout
+     * @param unit

Review Comment:
   Please either document it or remove it 



-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org