class RSpec::Mocks::AnyInstance::Recorder
def verify
def verify if @expectation_set && !each_expectation_filfilled? raise RSpec::Mocks::MockExpectationError, "Exactly one instance should have received the following message(s) but didn't: #{unfulfilled_expectations.sort.join(', ')}" end end