# File test/unit/assertions.rb, line 233 def assert_not_nil(object, message="") _wrap_assertion { full_message = build_message(message, object) { | arg | "Expected <#{arg}> to not be nil" } assert_block(full_message) { ! object.nil? } } end