@Override
    public boolean next() {
        if (closed || !values.hasNext()) {
            currentValue = null;
            return false;
        }
        currentValue = values.next();
        return true;
    }
@Test
    void assertNext() {
        assertTrue(actualResultSet.next());
        assertTrue(actualResultSet.next());
        assertFalse(actualResultSet.next());
    }