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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a new sequence that is used to constrain the order in which expectations can occur.
- !ruby/struct:SM::Flow::P 
  body: Specify that an expected invocation must occur in within a named <tt>sequence</tt> by using Expectation#in_sequence.
- !ruby/struct:SM::Flow::P 
  body: See also Expectation#in_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::API#sequence
is_singleton: false
name: sequence
params: " sequence(name) -> sequence\n"
visibility: public
