--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Constrains this expectation so that it must be invoked at the current point in the sequence.
- !ruby/struct:SM::Flow::P 
  body: To expect a sequence of invocations, write the expectations in order and add the in_sequence(sequence) clause to each one.
- !ruby/struct:SM::Flow::P 
  body: Expectations in a sequence can have any invocation count.
- !ruby/struct:SM::Flow::P 
  body: If an expectation in a sequence is stubbed, rather than expected, it can be skipped in the sequence.
- !ruby/struct:SM::Flow::P 
  body: See also API#sequence.
- !ruby/struct:SM::Flow::VERB 
  body: "  breakfast = sequence('breakfast')\n\n  egg = mock('egg')\n  egg.expects(:crack).in_sequence(breakfast)\n  egg.expects(:fry).in_sequence(breakfast)\n  egg.expects(:eat).in_sequence(breakfast)\n"
full_name: Mocha::Expectation#in_sequence
is_singleton: false
name: in_sequence
params: " in_sequence(*sequences) -> expectation\n"
visibility: public
