}
@Test
public void untracksParameterizedWorkOnSchedulingRuntimeException() throws Exception
{
final Work work = mock(Work.class);
long startTimeout = 0;
ExecutionContext execContext = mock(ExecutionContext.class);
WorkListener workListener = mock(WorkListener.class);
doThrow(new RuntimeException()).when(delegateWorkManager).scheduleWork(Matchers.<Work>any(), eq(startTimeout), eq(execContext), Matchers.<WorkListener>any());