}
@Test
public void testGetDef() throws MalformedSVGDocument {
SVGDefsElement defs = new SVGDefsElement(node, null);
SVGMarkerElement mark = new SVGMarkerElement(node.getOwnerDocument());
mark.setAttribute(SVGAttributes.SVG_ID, SVGAttributes.SVG_ID);
defs.appendChild(mark);
assertNull(defs.getDef(null));
assertNull(defs.getDef("")); //$NON-NLS-1$
assertNull(defs.getDef("dsqd")); //$NON-NLS-1$
assertEquals(mark, defs.getDef("id")); //$NON-NLS-1$
}