callIdleDetectorToNotify();
long postEnd = System.currentTimeMillis();
Collection<SessionEvent> data = tracker.getData();
assertEquals(1, data.size());
SessionEvent event = data.iterator().next();
long start = event.getInterval().getStartMillis();
long end = event.getInterval().getEndMillis();
checkTime(preStart, start, postStart, preEnd, end, postEnd);
}