module RSpec::Mocks::Syntax

def self.warn_unless_should_configured(method_name ,replacement = "the new `:expect` syntax or explicitly enable `:should`")

Other tags:
    Private: -
def self.warn_unless_should_configured(method_name ,replacement = "the new `:expect` syntax or explicitly enable `:should`")
  if @warn_about_should
    RSpec.deprecate(
      "Using `#{method_name}` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax",
      :replacement => replacement
    )
    @warn_about_should = false
  end
end