|
@@ -82,9 +82,8 @@ public class ConnectionHandlerTest {
|
82
|
82
|
|
83
|
83
|
@Before
|
84
|
84
|
public void setUp() throws Exception {
|
85
|
|
- doReturn(scheduledFuture).when(
|
86
|
|
- scheduledExecutorService.scheduleAtFixedRate(
|
87
|
|
- any(Runnable.class), anyLong(), anyLong(), any()));
|
|
85
|
+ doReturn(scheduledFuture).when(scheduledExecutorService)
|
|
86
|
+ .scheduleAtFixedRate(any(Runnable.class), anyLong(), anyLong(), any());
|
88
|
87
|
when(windowModel.getEventBus()).thenReturn(eventBus);
|
89
|
88
|
when(connection.getWindowModel()).thenReturn(windowModel);
|
90
|
89
|
when(config.getBinder()).thenReturn(configBinder);
|