use of jdbi.doc.ResultsTest.User in project jdbi by jdbi.
the class TransactionTest method inTransaction.
@Test
public void inTransaction() {
User u = findUserById(2).orElseThrow(() -> new AssertionError("No user found"));
assertThat(u.id).isEqualTo(2);
assertThat(u.name).isEqualTo("Bob");
}