f2.deleteOnExit();
BlockingQueue<Event> q = new ArrayBlockingQueue<Event>(100);
File f = createDataFile(5);
Cursor c = new Cursor(q, f);
assertTrue(c.tailBody()); // open the file
assertTrue(c.tailBody()); // finish reading the first file
assertEquals(5, q.size()); // should be 5 in queue.
assertFalse(c.tailBody()); // no more to read
assertFalse(c.tailBody()); // no more to read