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