# File lib/rspec/mocks/message_expectation.rb, line 376 def never ErrorGenerator.raise_double_negation_error("expect(obj)") if negative? @expected_received_count = 0 self end