@Test
public void testPoll_interrupted() throws Exception {

    Thread.currentThread().interrupt();
    try {
        FileHelper.poll(null, 0);
        fail("Did not interrupt");
    } catch (InterruptedException e) {
    }
}