|
@@ -96,6 +96,7 @@ public class ConnectionHandlerTest {
|
96
|
96
|
when(groupChatUser.getNickname()).thenReturn("nickname");
|
97
|
97
|
when(channelUserAwayEvent.getUser()).thenReturn(groupChatUser);
|
98
|
98
|
when(channelUserAwayEvent.getChannel()).thenReturn(groupChat);
|
|
99
|
+ when(groupChat.getEventBus()).thenReturn(eventBus);
|
99
|
100
|
when(groupChatUser.getUser()).thenReturn(user);
|
100
|
101
|
instance = new ConnectionHandler(config, scheduledExecutorService, connectionManager,
|
101
|
102
|
"domain", connection);
|