public void test_Parameter_createWithNS() { XMLNamespaces xmlns = new XMLNamespaces(); xmlns.add("http://www.sbml.org", "testsbml"); SBMLNamespaces sbmlns = new SBMLNamespaces(2, 1); sbmlns.addNamespaces(xmlns); Parameter object = new Parameter(sbmlns); assertTrue(object.getTypeCode() == libsbml.SBML_PARAMETER); assertTrue(object.getMetaId().equals("") == true); assertTrue(object.getNotes() == null); assertTrue(object.getAnnotation() == null); assertTrue(object.getLevel() == 2); assertTrue(object.getVersion() == 1); assertTrue(object.getNamespaces() != null); assertTrue(object.getNamespaces().getLength() == 2); object = null; }