# File test/test_parser.rb, line 124 def test_parse_string_as_stream model = Model.new() parser = Parser.new() parser.parse_string_as_stream(@data_rdf_string,'http://xml.com'){|s| model.add_statement(s)} test_foaf_model(model) end