Extract method signature verifier from mocks

Part of rspec/rspec-expectations#471