@Test public void buildTest() throws IOException, SAXException { GraphicAdapter graphicAdapter = new DummyGraphicAdapter(); AttributesImpl attributesImpl = new AttributesImpl(); attributesImpl.addAttribute(null, null, LineBuilder.STROKE_WIDTH, null, String.valueOf(STROKE_WIDTH)); LineBuilder lineBuilder = new LineBuilder(graphicAdapter, "line", attributesImpl, LEVEL, null); Assert.assertEquals(LEVEL, lineBuilder.level); Assert.assertEquals(STROKE_WIDTH, lineBuilder.strokeWidth, 0); Assert.assertNotNull(lineBuilder.build()); }
public Line build() { return new Line(this); }
LineBuilder { public Line build() { return new Line(this); } }
LineBuilder { public Line build() { return new Line(this); } LineBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes, int level,
			String relativePathPrefix); }
LineBuilder { public Line build() { return new Line(this); } LineBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes, int level,
			String relativePathPrefix); Line build(); }
LineBuilder { public Line build() { return new Line(this); } LineBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes, int level,
			String relativePathPrefix); Line build();  }