소스 검색

Fix stubbing.

pull/445/head
Chris Smith 8 년 전
부모
커밋
f8d065e4f4
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2
    3
      channelwho/test/com/dmdirc/addons/channelwho/ConnectionHandlerTest.java

+ 2
- 3
channelwho/test/com/dmdirc/addons/channelwho/ConnectionHandlerTest.java 파일 보기

@@ -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);

Loading…
취소
저장