public void testGetRangeIterator() throws Exception {
setUp();
DisposableRangeIterator rit = var.getRangeIterator(true);
Assert.assertTrue(rit.hasNext());
Assert.assertEquals(-2, rit.min());
Assert.assertEquals(2, rit.max());
rit.next();
Assert.assertFalse(rit.hasNext());
rit = var.getRangeIterator(false);
Assert.assertTrue(rit.hasPrevious());