@Test public void shouldDefaultToAStartOfZeroIfNullIsSupplied() throws Exception { Range<Integer> range = new IntegerRange(null, 10, 1); Integer start = range.getStart(); assertThat(start, is(0)); }
@Override public Integer getStart() { return start; }
IntegerRange implements Range<Integer> { @Override public Integer getStart() { return start; } }
IntegerRange implements Range<Integer> { @Override public Integer getStart() { return start; } IntegerRange(Integer start, Integer end);  IntegerRange(Integer start, Integer end, Integer step); }
IntegerRange implements Range<Integer> { @Override public Integer getStart() { return start; } IntegerRange(Integer start, Integer end);  IntegerRange(Integer start, Integer end, Integer step); @Override boolean contains(Object other); @Override Integer getStart(); @Override Integer getEnd(); @Override Integer getStep(); @Override Iterator<Integer> iterator(); }
IntegerRange implements Range<Integer> { @Override public Integer getStart() { return start; } IntegerRange(Integer start, Integer end);  IntegerRange(Integer start, Integer end, Integer step); @Override boolean contains(Object other); @Override Integer getStart(); @Override Integer getEnd(); @Override Integer getStep(); @Override Iterator<Integer> iterator();  }