Google

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

                        def assert_not_nil(object, message="")

                                _wrap_assertion {

                                        full_message = build_message(message, object) {

                                                | arg |

                                                "<#{arg}> expected to not be nil"

                                        }

                                        assert_block(full_message) {

                                                ! object.nil?

                                        }

                                }

                        end