class RSpec::Mocks::MethodDouble
def add_negative_expectation(error_generator, expectation_ordering, expected_from, &implementation)
def add_negative_expectation(error_generator, expectation_ordering, expected_from, &implementation) configure_method expectation = NegativeMessageExpectation.new(error_generator, expectation_ordering, expected_from, @method_name, implementation) expectations.unshift expectation expectation end