[
https://issues.apache.org/jira/browse/CAMEL-18601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Filotto updated CAMEL-18601:
------------------------------------
Description: 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. (was: 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. Considering the wide usage of that method, the
method implementation could be backported from junit4 support class )
> 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)