SequenceIterationStatus implements Serializable { public int getCount() { return count; } SequenceIterationStatus(Integer begin, Integer end, int index, Integer rowCount); Integer getBegin(); int getCount(); Object getCurrent(); Integer getEnd(); int getIndex(); Integer getStep(); boolean isFirst(); boolean isLast(); Integer getRowCount(); boolean isEven(); boolean isOdd(); @Override String toString();  }
@Test public void testGetCount() throws Exception { SequenceIterationStatus s1 = new SequenceIterationStatus(0, 100, 0, 10); assertTrue(s1.getCount() == 1); SequenceIterationStatus s2 = new SequenceIterationStatus(0, 100, 1, 10); assertTrue(s2.getCount() == 2); SequenceIterationStatus s3 = new SequenceIterationStatus(5, 100, 7, 10); assertTrue(s3.getCount() == 3); SequenceIterationStatus s4 = new SequenceIterationStatus(5, 100, 8, 10); assertTrue(s4.getCount() == 4); }