@Test
    public void testScriptTwr() {
        try (Script script = handle.createScript("INSERT INTO users (id, name) VALUES(3, 'Charlie');"
            + "UPDATE users SET name='Bobby Tables' WHERE id=2;")) {
            int[] results = script.execute();
            assertThat(results).containsExactly(1, 1);
        }
    }
Many tests that try to provoke leaks and see whether the various checkers find them and various cleanup strategies catch them.
core/src/test/java/org/jdbi/v3/core/statement/LeakTest.java