# File test/core_test.rb, line 78 def test_cdata test = "The quick brown fox jumped over the lazy dog." source = "<![CDATA[#{test}]]>" # Test constructors cdata = CData.new SourceFactory.create_from( source ), true assert_equals test, cdata.string end