public void reset() {
        currentPosition = 0;
        elementIndex = -1;
        nextElement = 0;
        advance();
    }
@Test
    public void returnsValues() {
        GapEncodedVariableLengthIntegerReader reader = reader(1, 10, 100, 105, 107, 200);

        assertValues(reader, 1, 10, 100, 105, 107, 200);
        reader.reset();
        assertValues(reader, 1, 10, 100, 105, 107, 200);
    }