method
add_message_expectation

add_message_expectation(expected_from, sym, opts={}, &block)
public
Hide source
# File lib/spec/mocks/proxy.rb, line 24 def add_message_expectation(expected_from, sym, opts={}, &block) __add sym @expectations << MessageExpectation.new(@error_generator, @expectation_ordering, expected_from, sym, block_given? ? block : nil, 1, opts) @expectations.last end