You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/03/15 14:47:33 UTC

[jira] [Updated] (CAMEL-9708) Multiple tests not using equality predicate correctly

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

Claus Ibsen updated CAMEL-9708:
-------------------------------
    Issue Type: Test  (was: Bug)

> Multiple tests not using equality predicate correctly
> -----------------------------------------------------
>
>                 Key: CAMEL-9708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9708
>             Project: Camel
>          Issue Type: Test
>          Components: tests
>            Reporter: Jarosław Strzelecki
>            Priority: Minor
>             Fix For: 2.17.0
>
>
> There are multiple test having similar 'assertion' that do not verify equality:
> {quote}
>  mockEndpoint.message(0).body().equals(body);
> {quote}
> The correct syntax would be:
> {quote}
>  mockEndpoint.message(0).body().isEqualTo(body);
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)