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

Multiple tests not using equality predicate correctly

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: tests
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: