minor generics fix to bypass compilation error during maven build

This commit is contained in:
Chris Beams
2010-05-07 14:03:42 +00:00
parent 33379ce025
commit 7c04bc0035

View File

@@ -143,11 +143,10 @@ public class ChainParserTests {
}
@Test
@SuppressWarnings("unchecked")
public void chainHandlerBean() throws Exception {
Message<?> message = MessageBuilder.withPayload("test").build();
this.beanInput.send(message);
Message reply = this.output.receive(3000);
Message<?> reply = this.output.receive(3000);
assertNotNull(reply);
assertThat(reply, sameExceptImmutableHeaders(successMessage));
}