public void testSetForegroundWithRGBTriggersUIUpdate() {
UIUpdater updater = mock( UIUpdater.class );
UpdateUtil.registerUpdater( updater );
UIConfiguration configuration = new UIConfiguration();
configuration.setForeground( new RGB( 100, 100, 100 ) );
verify( updater, times( 1 ) ).update( configuration );
}