@Test public void buildTest() throws SAXException { GraphicAdapter graphicAdapter = new DummyGraphicAdapter(); AttributesImpl attributesImpl = new AttributesImpl(); attributesImpl.addAttribute(null, null, PathTextBuilder.FONT_SIZE, null, String.valueOf(FONT_SIZE)); attributesImpl.addAttribute(null, null, PathTextBuilder.K, null, K); PathTextBuilder pathTextBuilder = new PathTextBuilder(graphicAdapter, "pathText", attributesImpl); Assert.assertEquals(FONT_SIZE, pathTextBuilder.fontSize, 0); Assert.assertEquals(TextKey.getInstance(K), pathTextBuilder.textKey); Assert.assertNotNull(pathTextBuilder.build()); }
public PathText build() { return new PathText(this); }
PathTextBuilder { public PathText build() { return new PathText(this); } }
PathTextBuilder { public PathText build() { return new PathText(this); } PathTextBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes); }
PathTextBuilder { public PathText build() { return new PathText(this); } PathTextBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes); PathText build(); }
PathTextBuilder { public PathText build() { return new PathText(this); } PathTextBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes); PathText build();  }