Should everything be the same as Camel 2.14-SNAPSHOT? I've been using the
SNAPSHOT release for months and haven't had any issues. However, when I
switch to 2.14.0, I get a couple test failures.
For example, here's one of them:
@Test
public void lookupByMemberId() throws Exception {
finalResult.expectedMessageCount(1);
finalResult.allMessages().body().isInstanceOf(MemberResponse.class);
finalResult.allMessages().body().convertToString().contains("firstName='JOHN',
lastName='SMITH'");
MemberLookup request = new MemberLookup();
request.setClient("FOO");
request.setMemberId("12456789325");
lookup.sendBody(request);
finalResult.assertIsSatisfied();
}
The error:
lookupByMemberId:147 Assertion error at index 0 on mock mock://finalResult
with predicate: body contains firstName='JOHN', lastName='SMITH' evaluated
as: MemberResponse{member=Member{memberId='null', pid='null',
address1='null', address2='null', city='null', county='null',
dateOfBirth='null', eligible='null', faxNumber='null', firstName='John',
lastName='Smith', gender='null', patientLanguage='English',
phoneNumber='PHONE', zip='null', memberEligibility=null}} contains
firstName='JOHN', lastName='SMITH' on Exchange[Message:
MemberResponse{member=Member{memberId='null', pid='null', address1='null',
address2='null', city='null', county='null', dateOfBirth='null',
eligible='null', faxNumber='null', firstName='John', lastName='Smith',
gender='null', patientLanguage='English', phoneNumber='PHONE', zip='null',
memberEligibility=null}}]
If I switch back to 2.14-SNAPSHOT, the test passes.
Thanks,
Matt
--
View this message in context:
http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-14-0-the-second-try-tp5756536p5756596.html
Sent from the Camel Development mailing list archive at Nabble.com.