### Question:
ColumnSliceFilter extends Filter { public static void setSlice(IteratorSetting si, String start, String end) { setSlice(si, start, true, end, false); }  @Override boolean accept(Key key, Value value); @Override void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options,
      IteratorEnvironment env); @Override IteratorOptions describeOptions(); static void setSlice(IteratorSetting si, String start, String end); static void setSlice(IteratorSetting si, String start, boolean startInclusive, String end,
      boolean endInclusive); @Override SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env); static final String START_BOUND; static final String START_INCLUSIVE; static final String END_BOUND; static final String END_INCLUSIVE; }### Answer:
@Test public void testStartAfterEnd() { try { ColumnSliceFilter.setSlice(is, "20080204", "20080202"); fail("IllegalArgumentException expected but not thrown"); } catch (IllegalArgumentException expectedException) { } }
@Test public void testStartEqualToEndStartInclusiveEndExclusive() { try { ColumnSliceFilter.setSlice(is, "20080202", "20080202"); fail("IllegalArgumentException expected but not thrown"); } catch (IllegalArgumentException expectedException) { } }
@Test public void testStartEqualToEndStartExclusiveEndInclusive() { try { ColumnSliceFilter.setSlice(is, "20080202", false, "20080202", true); fail("IllegalArgumentException expected but not thrown"); } catch (IllegalArgumentException expectedException) { } }