Actually, re-working this a bit, this might be an even better example:

``` ruby
# my_app.rb
require 'logger'

module MyApp
  LOGGER = Logger.new
end
```

``` ruby
# email.rb
class Email
  def self.send_to(recipient)
    MyApp::LOGGER.info("Sending email to #{recipient}")
    # other emailing logic
  end
end
```

``` ruby
# email_spec.rb
describe Email do
  it 'logs a message when sending' do
    logger = object_double("MyApp::LOGGER", info: nil).as_stubbed_const
    Email.send_to('hello@foo.com')
    expect(logger).to have_received(:info).with("Sending email to hello@foo.com")
  end
end
```

One can imagine wanting to test `Email` in isolation without your full app environment loaded, so this is actually a pretty reasonable example use-case for having `object_double` support the verified interface being unloaded.