TupleBuffer tb = bm.createTupleBuffer(Arrays.asList(new ElementSymbol("x")), "test", TupleSourceType.PROCESSOR);
bi.setBuffer(tb, true); //$NON-NLS-1$
bi.nextTuple();
bi.mark();
bi.nextTuple();
bi.reset();
assertEquals(2, bi.getCurrentIndex());
assertEquals(2, bi.nextTuple().get(0));
}
@Test public void testReset2() throws Exception {