Class: FlexMock::ExpectationRecorder

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

new()

Initialize the recorder.

### Public Instance methods

apply(mock)

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).

method_missing(sym, *args, &block)

Save any incoming messages to be played back later.

[Validate]