### Question:
SequenceOperation extends OperationFlow { @Override public void rewind() { super.rewind(); index = 0; } SequenceOperation(); @Override boolean process(float delta, Entity e); @Override void rewind(); @Override void reset();  }### Answer:
@Test public void ensure_restart_resets_sequence_index() { createOps(1, 1, 1); processOperation(); processOperation(); operation.rewind(); Assert.assertEquals(0, op[0].calls); processOperation(); Assert.assertEquals(1, op[0].calls); }