btree.addValue(createValue("a1"), 6);
btree.addValue(createValue("d"), 4);
btree.addValue(createValue("d1"), 10);
btree.addValue(createValue("e"), 8);
btree.addValue(createValue("b"), 9);
IndexQuery query = new BasicIndexQuery(BasicIndexQuery.NBW, createValue("b"), createValue("d"));
Callback callback = new Callback();
btree.search(query, callback);
List<Long> actual = callback.getPointers();
long[] expected = new long[] { 1, 1, 6, 2, 4, 10, 5, 8 };
Assert.assertEquals("actual: " + actual, expected.length, actual.size());