public void testUninstallDesktopManager() {
ui.installDesktopManager();
ui.uninstallDesktopManager();
assertNotNull(desktop.getDesktopManager());
DefaultDesktopManager m = new DefaultDesktopManager();
desktop.setDesktopManager(m);
ui.uninstallDesktopManager();
assertSame(m, desktop.getDesktopManager());
desktop.setDesktopManager(null);
ui.uninstallDesktopManager();