Not-yet-working stuff (doesn't build) for expected sequences of stream callback invocations.