void () { CompositeAppearance appearance = new CompositeAppearance(); appearance.getEnding().addText(null, (TextAttributes)null); assertEquals(0, appearance.getText().length()); appearance.getEnding().addText(null, (TextAttributes)null); assertEquals(0, appearance.getText().length()); }