@Test
public void testUpdateUI() {

    CompoundHighlighter support = new CompoundHighlighter();
    // force loading of striping colors
    ColorHighlighter colorHighlighter = (ColorHighlighter) HighlighterFactory.createSimpleStriping();
    Color uiColor = UIManager.getColor("UIColorHighlighter.stripingBackground");
    if (uiColor == null) {
        LOG.info("cannot run test - no ui striping color");
        return;
    }
    assertSame("sanity", uiColor, colorHighlighter.getBackground());
    support.addHighlighter(colorHighlighter);
    Color changedUIColor = Color.RED;
    UIManager.put("UIColorHighlighter.stripingBackground", changedUIColor);
    support.updateUI();
    try {
        assertSame("support must update ui color", changedUIColor, colorHighlighter.getBackground());
    } finally {
        UIManager.put("UIColorHighlighter.stripingBackground", uiColor);
    }
    
}