# File lib/spec/mocks/message_expectation.rb, line 240 def exactly(n) set_expected_received_count :exactly, n self end