verify (Mocha::Mockery)

        # File lib/mocha/mockery.rb, line 45
    45:     def verify(assertion_counter = nil)
    46:       unless mocks.all? { |mock| mock.__verified__?(assertion_counter) }
    47:         message = "not all expectations were satisfied\n#{mocha_inspect}"
    48:         if unsatisfied_expectations.empty?
    49:           backtrace = caller
    50:         else
    51:           backtrace = unsatisfied_expectations[0].backtrace
    52:         end
    53:         raise ExpectationError.new(message, backtrace)
    54:       end
    55:       expectations.each do |e|
    56:         unless Mocha::Configuration.allow?(:stubbing_method_unnecessarily)
    57:           unless e.used?
    58:             on_stubbing_method_unnecessarily(e)
    59:           end
    60:         end
    61:       end
    62:     end