@Test
public void testTwoBufferingSpliteratorsConsumedOneAfterAnother() {

    SeqBuffer<Integer> buffer = buffer();
    Seq<Integer> seq1 = buffer.seq(); // call 1: buffering spliterator
    Seq<Integer> seq2 = buffer.seq(); // call 2: buffering spliterator
    assertEquals(list, seq1.toList()); // complete consumption of 1
    assertEquals(list, seq2.toList()); // complete consumption of 2
    assertEquals(list, buffer.seq().toList()); // call 3: buffered spliterator + complete consumption
}