public void testPaint() throws Exception {
renderer.paint(createTestGraphics());
}
public void testGetPreferredSize() throws Exception {
renderer.getTreeCellRendererComponent(new JTree(), "value", true, true, true, 0, false);
JLabel label = new JLabel("value", renderer.getDefaultLeafIcon(), SwingConstants.LEFT);
label.setFont(renderer.getFont());
Dimension baseDimenstion = label.getPreferredSize();
if (isHarmony()) {
assertEquals(new Dimension(baseDimenstion.width + 2, baseDimenstion.height),