Compatibility with previous SF versions

https://build.spring.io/browse/INT-MJATS41-872
This commit is contained in:
Artem Bilan
2017-01-09 10:34:57 -05:00
parent a39c8bef41
commit 626466bac8

View File

@@ -118,7 +118,7 @@ public class ConnectionEventTests {
assertTrue(theEvent.get(0) instanceof TcpConnectionExceptionEvent);
assertTrue(theEvent.get(0).toString().endsWith("[factory=foo, connectionId=" + conn.getConnectionId() + "]"));
assertThat(theEvent.get(0).toString(),
containsString("RuntimeException: foo, failedMessage=GenericMessage [payload=bar"));
containsString("RuntimeException: foo"));
TcpConnectionExceptionEvent event = (TcpConnectionExceptionEvent) theEvent.get(0);
assertNotNull(event.getCause());
assertSame(toBeThrown, event.getCause().getCause());