@Test
    public void shouldUpdateModifiedTimestamp() {
        Person input = new Person("John", "Phiri");
        input.setId(3);

        logNext.set("now");
        personDAO.insert(input);
        Timestamp insert = insertedSqlTimestamp();

        Person fetched = personDAO.get(3);
        fetched.setLastName("Banda");
        clock.advance(1, ChronoUnit.SECONDS);

        logNext.set("now");
        personDAO.updatePerson(fetched);
        Timestamp update = insertedSqlTimestamp();

        Person result = personDAO.get(3);

        assertThat(insert).isNotEqualTo(update);
        assertThat(result.getLastName()).isEqualToIgnoringCase("Banda");
        assertThat(result.getCreated()).isEqualTo(insert);
        assertThat(result.getModified()).isEqualTo(update);
    }
Tests for the {@link Timestamped} annotation
sqlobject/src/test/java/org/jdbi/v3/sqlobject/customizer/internal/TestTimestamped.java