}
@Test
public void testScopeWithNullBound() throws SqlJetException {
SqlJetScope upScope = new SqlJetScope(new Object[] {5}, null);
SqlJetScope upScopeExclusive = new SqlJetScope(new Object[] {5}, false, null, true);
SqlJetScope downScope = new SqlJetScope(null, new Object[] {5});
SqlJetScope downScopeExclusive = new SqlJetScope(null, true, new Object[] {5}, false);
// [0,5], not [infinity:5].
SqlJetScope downScope2 = new SqlJetScope(new Object[] {null}, new Object[] {5});
SqlJetScope allScope = new SqlJetScope((SqlJetScopeBound) null, null);
SqlJetScope allScope2 = new SqlJetScope((Object[]) null, null);
List<Long> upValues = Arrays.asList(Long.valueOf(5), Long.valueOf(6), Long.valueOf(7));
List<Long> downValues = Arrays.asList(Long.valueOf(1), Long.valueOf(2), Long.valueOf(3), Long.valueOf(4), Long.valueOf(5));
List<Long> upValuesExclusive = Arrays.asList(Long.valueOf(6), Long.valueOf(7));
List<Long> downValuesExclusive = Arrays.asList(Long.valueOf(1), Long.valueOf(2), Long.valueOf(3), Long.valueOf(4));