engine.execute(new InsertOperation(commit, testIndex, new ArrayList(Arrays.asList(testModelA, testModelB))));
IndexCommit deleteCommit = mock(IndexCommit.class);
when(deleteCommit.getTimestamp()).thenReturn(new Date(84));
engine.execute(new DeleteOperation(deleteCommit, testIndex, new ArrayList(Arrays.asList(testModelB))));
try (ResultSet rs = connection.createStatement().executeQuery("SELECT * FROM HISTORY_TABLE")) {
assertTrue(rs.next());
assertEquals("A", rs.getString("TESTID"));
assertEquals(42, rs.getInt("TESTINTEGER"));