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

An expectation recorder records any expectations received and plays them back on demand. This is used to collect the expectations in the blockless version of the new_instances call.

Methods

apply   method_missing   new  

Public Class methods

Initialize the recorder.

Public Instance methods

Apply the recorded messages to the given object in a chaining fashion (i.e. the result of the previous call is used as the target of the next call).

Save any incoming messages to be played back later.

[Validate]