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

J.H. Veldhorst updated CAMEL-1848:
----------------------------------

    Attachment: ExpectedHeaderReceivedTest.java

A JUnit testclass with two test scenario's.
One with the original MockEndpoint giving an error and one with a patch.

> MockEndPoint yields nullpointer due to mixed up typeconversion
> --------------------------------------------------------------
>
>                 Key: CAMEL-1848
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1848
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.0-M2
>            Reporter: Gert-Jan van de Streek
>         Attachments: ExpectedHeaderReceivedTest.java, FixedMockEndPoint.java
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> MockEndpoint yields a failed unit test with very confusing message:
>         resultEndpointHub.expectedHeaderReceived("portalId", 30);
> Yields: ... expected <null> but got ...
> Of course the expected value of null must never happen if a value is put in 
> there

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to