testModelB.setTestInteger(43);
IndexCommit updateCommit = mock(IndexCommit.class);
when(updateCommit.getTimestamp()).thenReturn(new Date(84));
engine.execute(new UpdateOperation(updateCommit, 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"));