Martin Frei created CAMEL-18396:
-----------------------------------

             Summary: NotifyBuilder.matches returns always true in conjunction 
with NotifyBuilderMatcher usage
                 Key: CAMEL-18396
                 URL: https://issues.apache.org/jira/browse/CAMEL-18396
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 3.18.1
            Reporter: Martin Frei


Take the following test as example:

 

[https://github.com/apache/camel/blob/camel-3.18.1/core/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java#L703]

 

And change the line to:

 

{{mock.expectedBodiesReceivedInAnyOrder("XXXXX", "Bye World", "Hi World");}}

{{}}

The test would still pass.{{{}{}}}

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to