### Question:
IntegerRange implements Range<Integer> { @Override public Integer getStep() { return step; } 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();  }### Answer:
@Test public void shouldDefaultToAStepSizeOfOne() throws Exception { Range<Integer> range = new IntegerRange(0, 10); Integer step = range.getStep(); assertThat(step, is(1)); }
@Test public void shouldDefaultToAStepSizeOfOneIfNullIsSupplied() throws Exception { Range<Integer> range = new IntegerRange(0, 10, null); Integer step = range.getStep(); assertThat(step, is(1)); }