|
|
@ -152,12 +152,12 @@ public class TaskCallbackServiceTest { |
|
|
|
nettyRemotingClient.close(); |
|
|
|
nettyRemotingClient.close(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test(expected = IllegalArgumentException.class) |
|
|
|
// @Test(expected = IllegalArgumentException.class)
|
|
|
|
public void testSendAckWithIllegalArgumentException(){ |
|
|
|
// public void testSendAckWithIllegalArgumentException(){
|
|
|
|
// TaskExecuteAckCommand ackCommand = Mockito.mock(TaskExecuteAckCommand.class);
|
|
|
|
// TaskExecuteAckCommand ackCommand = Mockito.mock(TaskExecuteAckCommand.class);
|
|
|
|
// taskCallbackService.sendAck(1, ackCommand.convert2Command());
|
|
|
|
// taskCallbackService.sendAck(1, ackCommand.convert2Command());
|
|
|
|
// Stopper.stop();
|
|
|
|
// Stopper.stop();
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testPause(){ |
|
|
|
public void testPause(){ |
|
|
|