Class Spec::Mocks::BaseExpectation
In: lib/spec/mocks/message_expectation.rb
Parent: Object

Methods

Attributes

error_generator  [RW] 
expected_from  [W] 
expected_received_count  [W] 
method_block  [W] 
sym  [R] 

Public Class methods

Public Instance methods

Warning

When you pass an exception class, the MessageExpectation will raise an instance of it, creating it with new. If the exception class initializer requires any parameters, you must pass in an instance and not the class.

Protected Instance methods

[Validate]