@Override public HashSlotCursor12byteKey cursor() {
        return new CursorIntKey2();
    }
@Test
    public void testCursor_withManyValues() {
        final int factor = 123456;
        final int k = 1000;
        for (int i = 1; i <= k; i++) {
            insert(i, factor * i);
        }
        boolean[] verifiedKeys = new boolean[k];
        HashSlotCursor12byteKey cursor = hsa.cursor();
        while (cursor.advance()) {
            long key1 = cursor.key1();
            int key2 = cursor.key2();
            long valueAddress = cursor.valueAddress();
            assertEquals(key1 * factor, key2);
            verifyValue(key1, key2, valueAddress);
            verifiedKeys[((int) key1) - 1] = true;
        }
        for (int i = 0; i < k; i++) {
            assertTrue("Failed to encounter key " + i, verifiedKeys[i]);
        }
    }