@Test
public void Should_cancelEntryWhenErrorOccurs()
        throws Exception {

    ISchedulingStrategy strategy = new OnceSchedulingStrategy();
    strategy.processException(entry, mock(Throwable.class));
    verify(entry).cancel();
}