@Override public void testCreateUI() { assertTrue("created UI is not null", null != MetalCheckBoxUI.createUI(new JButton())); assertTrue( "created UI is of the proper class", MetalCheckBoxUI.createUI(null) instanceof MetalCheckBoxUI); assertTrue( "created UI is not shared", MetalCheckBoxUI.createUI(null) == MetalCheckBoxUI.createUI(null)); }
@Override public void uninstallDefaults(final AbstractButton b) { super.uninstallDefaults(b); }