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

Multiple tests not using equality predicate correctly

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.17.0
    • tests
    • None
    • Patch Available
    • Novice

    Description

      There are multiple test having similar 'assertion' that do not verify equality:

      mockEndpoint.message(0).body().equals(body);

      The correct syntax would be:

      mockEndpoint.message(0).body().isEqualTo(body);

      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: