method
add_negative_message_expectation
add_negative_message_expectation(expected_from, sym, &block)
public
Hide source
# File lib/spec/mocks/proxy.rb, line 30 def add_negative_message_expectation(expected_from, sym, &block) __add sym @expectations << NegativeMessageExpectation.new(@error_generator, @expectation_ordering, expected_from, sym, block_given? ? block : nil) @expectations.last end