SequenceGroup extends Sequence { @Override public long get() { return Util.getMinimumSequence(sequences); } SequenceGroup(); @Override long get(); @Override void set(final long value); void add(final Sequence sequence); boolean remove(final Sequence sequence); int size(); void addWhileRunning(Cursored cursored, Sequence sequence);  }
@Test public void shouldReturnMaxSequenceWhenEmptyGroup() { final SequenceGroup sequenceGroup = new SequenceGroup(); assertEquals(Long.MAX_VALUE, sequenceGroup.get()); }