# File lib/rspec/mocks/message_expectation.rb, line 445
      def and_return(*)
        # no-op
        # @deprecated and_return is not supported with negative message expectations.
        RSpec::Mocks.warn_deprecation "\nDEPRECATION: `and_return` with `should_not_receive` is deprecated. Called from \#{caller(0)[1]}\n"
      end