You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2022/10/11 14:48:00 UTC
[jira] [Resolved] (CAMEL-18601) Replace assertMockEndpointsSatisfied() in doc
[ https://issues.apache.org/jira/browse/CAMEL-18601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Filotto resolved CAMEL-18601.
-------------------------------------
Resolution: Fixed
> Replace assertMockEndpointsSatisfied() in doc
> ---------------------------------------------
>
> Key: CAMEL-18601
> URL: https://issues.apache.org/jira/browse/CAMEL-18601
> Project: Camel
> Issue Type: Improvement
> Components: camel-test
> Affects Versions: 3.19.0
> Reporter: Marco Carletti
> Priority: Major
> Fix For: 3.20.0
>
>
> The documentation for [migrating tests from junit4 to junit5|https://camel.apache.org/components/3.18.x/others/test-junit5.html#_migrating_camel_tests_from_junit_4_to_junit_5] provides an [example|https://camel.apache.org/components/3.18.x/others/test-junit5.html#_simple_unit_test_example] that uses the assertMockEndpointsSatisfied() method but in the class [org.apache.camel.test.junit5.CamelTestSupport|https://github.com/apache/camel/blob/main/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java] the method is not implemented, the documentation should be updated to indicate that we are supposed to use MockEndpoint.assertIsSatisfied instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)