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