Luca Burgazzoli created CAMEL-14123:
---------------------------------------

             Summary: camel-test: provide custom assertj assertions
                 Key: CAMEL-14123
                 URL: https://issues.apache.org/jira/browse/CAMEL-14123
             Project: Camel
          Issue Type: Improvement
          Components: camel-test
            Reporter: Luca Burgazzoli
             Fix For: 3.x


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to