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

MockEndpoint: isEqualTo predicate does not handle arrays correctly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-core
    • None
    • Novice

    Description

      IsEquals predicate does not work correctly for arrays while running tests with MockEndpoint.

      Source of problem was the final line of ObjectHelper#equal method -array1.equals(array2) does not compare the contents of arrays.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jareks Jarosław Strzelecki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: