class Shoulda::Matchers::Independent::DelegateMethodMatcher

def delegate_object_received_call_with_delegated_arguments?

def delegate_object_received_call_with_delegated_arguments?
  calls_to_delegate_method.any? do |call|
    call.args == delegated_arguments
  end
end