class RSpec::Mocks::Configuration
def before_verifying_doubles(&block)
ref.some_method!
RSpec::Mocks.configuration.before_verifying_doubles do |ref|
@example
Provides a way to perform customisations when verifying doubles.
def before_verifying_doubles(&block) verifying_double_callbacks << block end