/** * 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()); }
/** * Tests ConcurrencyPropertyPanel#execute() for accuracy. * * <p>It verifies ConcurrencyPropertyPanel#execute() is correct. */ public void testExecute() { panel.execute(); }