/*
* Test method for 'javax.swing.JMenuBar.setUI(MenuBarUI)'
*/
public void testSetUIMenuBarUI() {
MenuBarUI ui1 = new BasicMenuBarUI();
MenuBarUI ui2 = new MetalMenuBarUI();
JMenuBar menuBar = new JMenuBar();
menuBar.setUI(ui1);
assertSame(ui1, menuBar.getUI());
menuBar.setUI(ui2);