@Test
public void Should_cancelEntryOnSensorShutdown()
        throws Exception {

    ISchedulerEntry entry = mock(ISchedulerEntry.class);
    ISensorHandle handle = new QuerySensorHandle(entry);
    handle.shutdown();
    verify(entry).cancel();
}