module RSpec::Mocks::VerifyingDouble

def method_missing(message, *args, &block)

def method_missing(message, *args, &block)
  # Null object conditional is an optimization. If not a null object,
  # validity of method expectations will have been checked at definition
  # time.
  if null_object?
    if @__sending_message == message
      __mock_proxy.ensure_implemented(message)
    else
      __mock_proxy.ensure_publicly_implemented(message, self)
    end
    __mock_proxy.validate_arguments!(message, args)
  end
  super
end