# File lib/mocha/central.rb, line 22 22: def unique_mocks 23: stubba_methods.inject({}) { |mocks, method| mocks[method.mock.__id__] = method.mock; mocks }.values 24: end