}
public void testGetIconForType() throws InterruptedException {
paneUI.optionPane = new JOptionPane();
paneUI.optionPane.setUI(paneUI);
Icon icon11 = new IconUIResource(new ImageIcon(new BufferedImage(10, 20,
BufferedImage.TYPE_INT_RGB)));
Icon icon21 = new IconUIResource(new ImageIcon(new BufferedImage(30, 40,
BufferedImage.TYPE_INT_RGB)));
Icon icon31 = new IconUIResource(new ImageIcon(new BufferedImage(50, 60,
BufferedImage.TYPE_INT_RGB)));
Icon icon41 = new IconUIResource(new ImageIcon(new BufferedImage(70, 80,
BufferedImage.TYPE_INT_RGB)));
UIManager.put("OptionPane.errorIcon", icon11);
UIManager.put("OptionPane.informationIcon", icon21);
UIManager.put("OptionPane.questionIcon", icon31);
UIManager.put("OptionPane.warningIcon", icon41);