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

        logNext.set("now");
        personDAO.insert(input);
        assertThat(insertedTimestamp.get().getOffset()).isEqualTo(GMT_PLUS_2);
        assertThat(insertedTimestamp.get().toInstant()).isEqualTo(UTC_MOMENT.toInstant());

        Person result = personDAO.get(1);

        assertThat(result.getCreated())
            .isEqualTo(result.getModified())
            .isEqualTo(insertedSqlTimestamp());
    }
Tests for the {@link Timestamped} annotation
sqlobject/src/test/java/org/jdbi/v3/sqlobject/customizer/internal/TestTimestamped.java