int width = 111;
int height = 235;
icon = new ImageIcon(new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB));
AccessibleContext ac = icon.getAccessibleContext();
AccessibleIcon ai = (AccessibleIcon)ac;
assertEquals(ac.getAccessibleChildrenCount(), 0);
assertNull(ac.getAccessibleChild(0));
assertNull(ac.getAccessibleChild(10));
assertNull(ac.getAccessibleChild(-1));
assertNull(ac.getAccessibleParent());
ac.setAccessibleParent(new ImageIcon());
assertNull(ac.getAccessibleParent());
assertNull(ac.getAccessibleStateSet());
assertEquals("width", width, ai.getAccessibleIconWidth());
assertEquals("height", height, ai.getAccessibleIconHeight());
}