void () { CompositeAppearance appearance = new CompositeAppearance(); appearance.getEnding().addText("a", ATTRIBUTES); appearance.getSuffix().addText("c", ATTRIBUTES); assertEquals("ac", appearance.getText()); appearance.getEnding().addText("b", ATTRIBUTES); assertEquals("abc", appearance.getText()); appearance.getBeginning().addText("0", ATTRIBUTES); assertEquals("0abc", appearance.getText()); }