Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
Unknown
Description
AssertJ allow to create custom assertions [ยน] and such feature is leveraged by Spring Boot to ease testing some part of the framework (as example the ApplicationContext [2]).
We should provide something similar at least for the Camel Context and the Mock Component.
[1] https://joel-costigliola.github.io/assertj/assertj-core-custom-assertions.html
[2] https://github.com/eugenp/tutorials/blob/413ffde3db305d5b22098e2153d291b75ede658f/spring-boot-autoconfiguration/src/test/java/com/baeldung/autoconfiguration/ConditionalOnBeanIntegrationTest.java#L20-L25