public void testCreateElement() throws Exception { ELEMENT element = ELEMENT.Factory.newInstance(); element.setName(dvText("name")); element.setValue(dvQuantity(6.1, "mmol/l")); }
private ELEMENT element(String name, double value, String units) { ELEMENT element = ELEMENT.Factory.newInstance(); element.setName(dvText(name)); element.setValue(dvQuantity(value, units)); return element; }