[
https://issues.apache.org/jira/browse/CAMEL-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15195264#comment-15195264
]
ASF GitHub Bot commented on CAMEL-9708:
---------------------------------------
Github user jarst closed the pull request at:
https://github.com/apache/camel/pull/902
> Multiple tests not using equality predicate correctly
> -----------------------------------------------------
>
> Key: CAMEL-9708
> URL: https://issues.apache.org/jira/browse/CAMEL-9708
> Project: Camel
> Issue Type: Bug
> Components: camel-avro, camel-boon, camel-core, camel-gson,
> camel-jackson, camel-mybatis, camel-netty4, camel-snakeyaml, camel-xstream
> Reporter: Jarosław Strzelecki
> Priority: Minor
>
> 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)