} else {
return -1;
}
}
};
TestUtils.configureObject(m_task, LogStore.class, new LogStore() {
public List<?> get(long logID, long from, long to) throws IOException {
return events;
}
public long getHighestID(long logID) throws IOException {
return event.getID();