Class FlexMock::CompositeExpectation
In: lib/flexmock/expectation.rb
Parent: Object

A composite expectation allows several expectations to be grouped into a single composite and then apply the same constraints to all expectations in the group.

Methods

add   method_missing   mock   new   order_number   should_receive   to_s  

Public Class methods

Initialize the composite expectation.

Public Instance methods

Add an expectation to the composite.

Apply the constraint method to all expectations in the composite.

Return the associated mock object.

Return the order number of the first expectation in the list.

Start a new method expectation. The following constraints will be applied to the new expectation.

Return a string representations

[Validate]