IconContainer { public Icon getIcon() { return icon; } IconContainer(int line, Icon icon); int getLine(); Icon getIcon();  }
@Test public void testGetIcon_1() throws Exception { IconContainer fixture = new IconContainer(1, new ImageIcon()); Icon result = fixture.getIcon(); assertNotNull(result); assertEquals(-1, result.getIconWidth()); assertEquals(-1, result.getIconHeight()); }