Google

# File test/unit/assertions.rb, line 373

                        def assert_send(send_array, message="")

                                _wrap_assertion {

                                        assert_instance_of(Array, send_array, "assert_send requires an array of send information")

                                        assert(send_array.size >= 2, "assert_send requires at least a receiver and a message name")

                                        full_message = build_message(message, send_array[0], send_array[1], send_array[2..-1]) {

                                                |arg1, arg2, arg3|

                                                "<#{arg1}> expected to respond to\n" +

                                                "<#{arg2}(#{arg3})> with true"

                                        }

                                        assert_block(full_message) {

                                                send_array[0].__send__(send_array[1], *send_array[2..-1])

                                        }

                                }

                        end