add_negative_message_expectation(expected_from, sym, &block)public
No documentation available.
# File lib/spec/mocks/proxy.rb, line 55
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