@Test public void clearStatus() { titledAttachmentFileWidget.selectedPath = "SELECTED_PATH"; assertNotNull(titledAttachmentFileWidget.selectedPath); titledAttachmentFileWidget.clearStatus(); verify(titledAttachmentFileWidget, times(1)).updateAssetList(); verify(errorLabelMock, times(1)).setText(eq(null)); assertNull(titledAttachmentFileWidget.selectedPath); }
public void clearStatus() { updateAssetList(); errorLabel.setText(null); selectedPath = null; }
TitledAttachmentFileWidget extends Composite { public void clearStatus() { updateAssetList(); errorLabel.setText(null); selectedPath = null; } }
TitledAttachmentFileWidget extends Composite { public void clearStatus() { updateAssetList(); errorLabel.setText(null); selectedPath = null; } TitledAttachmentFileWidget(String title,
                                      Caller<ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown); }
TitledAttachmentFileWidget extends Composite { public void clearStatus() { updateAssetList(); errorLabel.setText(null); selectedPath = null; } TitledAttachmentFileWidget(String title,
                                      Caller<ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown); void clearStatus(); void updateAssetList(); String getSelectedPath(); boolean validate(); }
TitledAttachmentFileWidget extends Composite { public void clearStatus() { updateAssetList(); errorLabel.setText(null); selectedPath = null; } TitledAttachmentFileWidget(String title,
                                      Caller<ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown); void clearStatus(); void updateAssetList(); String getSelectedPath(); boolean validate();  }