camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarosław Strzelecki (JIRA) <j...@apache.org>
Subject [jira] [Created] (CAMEL-9708) Multiple tests not using equality predicate correctly
Date Tue, 15 Mar 2016 11:44:33 GMT
Jarosław Strzelecki created CAMEL-9708:
------------------------------------------

             Summary: 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)

Mime
View raw message