We use `rr` for mocking, so you'll need something like:

```ruby
mock.any_instance_of(Twitter::REST::Client).verify_credentials { raise Twitter::Error::Unauthorized.new("invalid") }
```