This statement is more or less a duplicate of [line 336](https://github.com/rspec/rspec-mocks/pull/649/files#diff-5e732c165cb40508878a32c8c6bd7ad5R336). Would this change be better if the common lines were extracted into a method?