/** * Test of the method <code>initialize()</code>. * * @throws Exception handled by JUnit */ public void testInitialize() throws Exception { lnf.uninitialize(); assertNull(lnf.getRenderer(LnfKeyConstants.SUB_MODULE_VIEW_BORDER_RENDERER)); assertNull(lnf.getFont(LnfKeyConstants.EMBEDDED_TITLEBAR_FONT)); assertNull(lnf.getColor(LnfKeyConstants.EMBEDDED_TITLEBAR_ACTIVE_FOREGROUND)); lnf.initialize(); assertNotNull(lnf.getFont(LnfKeyConstants.EMBEDDED_TITLEBAR_FONT)); assertNotNull(lnf.getColor(LnfKeyConstants.EMBEDDED_TITLEBAR_ACTIVE_FOREGROUND)); }