CacheIndexBase implements CacheIndex { public List<Object> between(Object lowerBound, Object upperBound) { throw new UnsupportedOperationException(); }  List<Object> equalsTo(Object expectedValue); List<Object> lessThan(Object value); List<Object> lessThanOrEqualsTo(Object value); List<Object> greaterThan(Object value); List<Object> greaterThanOrEqualsTo(Object value); List<Object> between(Object lowerBound, Object upperBound);  }
@Test(expected = UnsupportedOperationException.class) public void between() { indexBase.between(new Object(), new Object()); }