[ 
https://issues.apache.org/jira/browse/CAMEL-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-4199.
--------------------------------

    Resolution: Fixed

> Add not() to ValueBuilder so you can build predicate expressions to negate a 
> predicate
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4199
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4199
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> For example in unit tests you may want to say that the message body should 
> *not* be a String type etc:
> {code}
> mock.message(0).body().not().isInstanceOf(String.class);
> {code}
> eg we need the {{not()}} method in the ValueBuilder

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to