}
@Test(timeout = 1000000)
public void testInterruptedException_Operation_Zk() throws Exception {
when(_protocol.getLiveNodes()).thenReturn(Arrays.asList("node1"));
ZkInterruptedException zkInterruptedException = mock(ZkInterruptedException.class);
final MasterOperation masterOperation = mockOperation(ExecutionInstruction.EXECUTE);
when(masterOperation.execute(_context, EMPTY_LIST)).thenThrow(zkInterruptedException);
when(_queue.peek()).thenReturn(masterOperation);
OperatorThread operatorThread = new OperatorThread(_context, 50);
operatorThread.start();