Fix issue in last commit

This commit is contained in:
Rossen Stoyanchev
2014-03-25 09:59:09 -04:00
parent a247d5f2e8
commit bbf101eef6
2 changed files with 3 additions and 3 deletions

View File

@@ -183,7 +183,7 @@ public class StompSubProtocolHandlerTests {
this.protocolHandler.afterSessionEnded(this.session, CloseStatus.BAD_DATA, this.channel);
assertEquals(3, publisher.events.size());
assertEquals("Unexpected events " + publisher.events, 3, publisher.events.size());
assertEquals(SessionConnectEvent.class, publisher.events.get(0).getClass());
assertEquals(SessionConnectedEvent.class, publisher.events.get(1).getClass());
assertEquals(SessionDisconnectEvent.class, publisher.events.get(2).getClass());