# File lib/action_dispatch/testing/test_response.rb, line 73
      def has_flash_with_contents?
        ActiveSupport::Deprecation.warn("response.has_flash_with_contents? has been deprecated. Use flash.any? instead", caller)
        !flash.empty?
      end