public class TestSVGStopElement extends AbstractTestSVGElement {
@SuppressWarnings("unused")
@Test
public void testContructor() throws MalformedSVGDocument {
try {
new SVGStopElement(null, null);
fail();
}
catch(Exception e){/**/}
try {
new SVGStopElement(node, null);
fail();
}
catch(MalformedSVGDocument e){/**/}
try {
node.setAttribute(SVGAttributes.SVG_OFFSET, "dsd"); //$NON-NLS-1$
new SVGStopElement(node, null);
fail();
}
catch(MalformedSVGDocument e){/**/}
node.setAttribute(SVGAttributes.SVG_OFFSET, "0.5"); //$NON-NLS-1$
new SVGStopElement(node, null);
}