@Test
public void testBorderUIResource() {

    JXHyperlink hyperlink = new JXHyperlink();
    if (!(hyperlink.getBorder() instanceof UIResource)) {
        LOG.info("not running test, LAF doesn't install hyperlink border");
        return;
    }
    Border border = new EmptyBorder(1, 2, 3, 4);
    hyperlink.setBorder(border);
    hyperlink.updateUI();
    assertSame("border untouched in updateUI ", border, hyperlink.getBorder());
}