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