I believe you can replace `::RSpec::Mocks.proxy_for(obj)` with `@proxy`.