class RSpec::Mocks::RootSpace

def raise_lifecycle_message

def raise_lifecycle_message
  raise OutsideOfExampleError,
        "The use of doubles or partial doubles from rspec-mocks outside of the per-test lifecycle is not supported."
end