/** * Tests ConcurrencyPropertyPanel#refreshPanel() for accuracy. * * <p>It verifies ConcurrencyPropertyPanel#refreshPanel() is correct. */ public void testRefreshPanel() { Operation element = new OperationImpl(); element.setConcurrency(CallConcurrencyKind.CONCURRENT); panel.configurePanel(element); assertTrue( "Failed to refresh panel correctly.", ((JCheckBox) panel.retrievePanel().getComponent(0)).isSelected()); }