assertEquals("Should return false when going past the end: " + i, false, cs.next()); //$NON-NLS-1$
assertEquals("Is after last should be true: " + i, true, cs.isAfterLast()); //$NON-NLS-1$
}
// Should still be just after last row
cs.previous();
assertEquals("Is last should be true", true, cs.isLast()); //$NON-NLS-1$
assertEquals("Not on last row", lastRowValue, cs.getObject(1)); //$NON-NLS-1$
} finally {
cs.close();