public void test_element_ci_definitionURL() { string s = wrapMathML("<ci definitionURL=\"foobar\"> x </ci>"); N = libsbml.readMathMLFromString(s); assertTrue( N != null ); assertTrue( N.getType() == libsbml.AST_NAME ); assertTrue(( "x" == N.getName() )); assertTrue( N.getNumChildren() == 0 ); assertTrue( N.getDefinitionURL().getValue(0) == "foobar" ); }