public void testSetGetUI() { BasicDesktopPaneUI ui = new BasicDesktopPaneUI(); desktop.setUI(ui); assertTrue("UI is set", desktop.getUI() == ui); }