@Override
    public boolean next() {
        if (closed || !values.hasNext()) {
            currentValue = null;
            return false;
        }
        currentValue = values.next();
        return true;
    }
@Test
    void assertNextForEmptyResultSet() {
        try (GeneratedKeysResultSet actual = new GeneratedKeysResultSet()) {
            assertFalse(actual.next());
        }
    }