# File test/contrib_test.rb, line 180 def test_xpath_01_TobiasReif doc = Document.new XML_STRING_01.dup desired_result = Document.new '<author>Thomas, David; Hunt, Andrew</author>' xpath = '//author' result = XPath.first(doc, xpath) assert_equal desired_result.to_s, result.to_s end