Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4199

Add not() to ValueBuilder so you can build predicate expressions to negate a predicate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0
    • camel-core
    • None

    Description

      For example in unit tests you may want to say that the message body should not be a String type etc:

      mock.message(0).body().not().isInstanceOf(String.class);
      

      eg we need the not() method in the ValueBuilder

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: