@Test(groups = SMALL)
public void testPollerStopsWhenStopMethodIsCalled()
        throws InterruptedException,
            NoSuchMethodException,
            SecurityException {

    Thread pollerThread = startPollingThread();
    poller.stop();
    sleep(100L);
    assertEquals(pollerThread.getState(), TERMINATED);
}