evt.get(ModSecurity.TX_ID));
}
@Test
public void testPreviousIndex() {
ListIterator<ScriptEvent> it = new ListIteratorImpl(eventList);
ScriptEvent evt = it.next();
Assert.assertNotNull(evt);
AuditEvent first = database.getRealList().get(0);
Assert.assertEquals(first.get(ModSecurity.TX_ID),
evt.get(ModSecurity.TX_ID));
Assert.assertEquals(0, it.previousIndex());
}