@Test public void testConstructor() throws Exception { assertEquals(parent, panel.getPanel()); assertEquals("Some Text", panel.getText()); }