# File test/test_parser.rb, line 92 def test_parser_with_contexts() store = HashStore.new('bdb','thestore') model = Model.new(store) context = Node.new(Uri.new('http://www.faa.gov')) parser = Parser.new() parser.parse_into_model(model,"file:./ical.rdf",nil,context) contexts = model.contexts assert(1,contexts.size) assert_equal(contexts[0],Node.new(Uri.new('http://www.faa.gov'))) end