test_class.declarator: beanManager
test_class.modifier: @Mock
test_class.original_string: @Mock
      SyncBeanManager beanManager;
test_class.type: SyncBeanManager
test_class.var_name: beanManager
test_class.declarator: saveRequestEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      EventSourceMock<SaveRequestEvent> saveRequestEvent;
test_class.type: EventSourceMock<SaveRequestEvent>
test_class.var_name: saveRequestEvent
test_class.declarator: testDataSetEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      EventSourceMock<TestDataSetRequestEvent> testDataSetEvent;
test_class.type: EventSourceMock<TestDataSetRequestEvent>
test_class.var_name: testDataSetEvent
test_class.declarator: cancelRequestEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      EventSourceMock<CancelRequestEvent> cancelRequestEvent;
test_class.type: EventSourceMock<CancelRequestEvent>
test_class.var_name: cancelRequestEvent
test_class.declarator: clientServices
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetClientServices clientServices;
test_class.type: DataSetClientServices
test_class.var_name: clientServices
test_class.declarator: dataSet
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSet dataSet;
test_class.type: DataSet
test_class.var_name: dataSet
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetEditorWorkflow.View view;
test_class.type: DataSetEditorWorkflow.View
test_class.var_name: view
test_class.declarator: driver
test_class.modifier: @Mock
test_class.original_string: @Mock
      SimpleBeanEditorDriver<CSVDataSetDef, CSVDataSetDefEditor> driver;
test_class.type: SimpleBeanEditorDriver<CSVDataSetDef, CSVDataSetDefEditor>
test_class.var_name: driver
test_class.declarator: csvEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      org.dashbuilder.client.widgets.dataset.editor.csv.CSVDataSetEditor csvEditor;
test_class.type: org.dashbuilder.client.widgets.dataset.editor.csv.CSVDataSetEditor
test_class.var_name: csvEditor
test_class.declarator: dataSetDef
test_class.modifier: @Mock
test_class.original_string: @Mock
      CSVDataSetDef dataSetDef;
test_class.type: CSVDataSetDef
test_class.var_name: dataSetDef
test_class.declarator: refreshEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetDefRefreshAttributesEditor refreshEditor;
test_class.type: DataSetDefRefreshAttributesEditor
test_class.var_name: refreshEditor
test_class.declarator: presenter
test_class.modifier: private
test_class.original_string: private CSVDataSetEditWorkflow presenter;
test_class.type: CSVDataSetEditWorkflow
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-widgets/src/test/java/org/dashbuilder/client/widgets/dataset/editor/workflow/edit/CSVDataSetEditWorkflowTest.java
test_class.identifier: CSVDataSetEditWorkflowTest
test_class.superclass: extends AbstractDataSetWorkflowTest
test_case.body: @Test
      public void testValidateUsingFileUrl() {
          presenter._setDataSetDef( dataSetDef );
          presenter.driver = driver;
          presenter.editor = csvEditor;
  
          when( csvEditor.isUsingFilePath() ).thenReturn( false );
          presenter.validate( true, true, true );
          verify( csvDataSetDefValidator, times( 1 ) ).validate( dataSetDef, true, true, true, false );
          verify( csvDataSetDefValidator, times( 0 ) ).validateCustomAttributes( dataSetDef, false );
      }
test_case.class_method_signature: CSVDataSetEditWorkflowTest.testValidateUsingFileUrl()
test_case.full_signature: @Test public void testValidateUsingFileUrl()
test_case.identifier: testValidateUsingFileUrl
test_case.invocations: _setDataSetDef thenReturn when isUsingFilePath validate validate verify times validateCustomAttributes verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateUsingFileUrl()
focal_class.file: dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/workflow/edit/CSVDataSetEditWorkflow.java
focal_class.identifier: CSVDataSetEditWorkflow
focal_class.class_method_signature: CSVDataSetEditWorkflow.CSVDataSetEditWorkflow(final DataSetClientServices clientServices,
                                     final DataSetValidatorProvider validatorProvider,
                                     final SyncBeanManager beanManager,
                                     final Event<SaveRequestEvent> saveRequestEvent,
                                     final Event<TestDataSetRequestEvent> testDataSetEvent,
                                     final Event<CancelRequestEvent> cancelRequestEvent,
                                     final View view)
focal_class.full_signature: @Inject public  CSVDataSetEditWorkflow(final DataSetClientServices clientServices,
                                     final DataSetValidatorProvider validatorProvider,
                                     final SyncBeanManager beanManager,
                                     final Event<SaveRequestEvent> saveRequestEvent,
                                     final Event<TestDataSetRequestEvent> testDataSetEvent,
                                     final Event<CancelRequestEvent> cancelRequestEvent,
                                     final View view)
focal_class.identifier: CSVDataSetEditWorkflow
focal_class.modifiers: @Inject public
focal_class.parameters: (final DataSetClientServices clientServices,
                                     final DataSetValidatorProvider validatorProvider,
                                     final SyncBeanManager beanManager,
                                     final Event<SaveRequestEvent> saveRequestEvent,
                                     final Event<TestDataSetRequestEvent> testDataSetEvent,
                                     final Event<CancelRequestEvent> cancelRequestEvent,
                                     final View view)
focal_class.signature:  CSVDataSetEditWorkflow(final DataSetClientServices clientServices,
                                     final DataSetValidatorProvider validatorProvider,
                                     final SyncBeanManager beanManager,
                                     final Event<SaveRequestEvent> saveRequestEvent,
                                     final Event<TestDataSetRequestEvent> testDataSetEvent,
                                     final Event<CancelRequestEvent> cancelRequestEvent,
                                     final View view)
focal_class.class_method_signature: CSVDataSetEditWorkflow.getDriverClass()
focal_class.full_signature: @Override protected Class<? extends SimpleBeanEditorDriver<CSVDataSetDef, CSVDataSetDefEditor>> getDriverClass()
focal_class.identifier: getDriverClass
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Class<? extends SimpleBeanEditorDriver<CSVDataSetDef, CSVDataSetDefEditor>>
focal_class.signature: Class<? extends SimpleBeanEditorDriver<CSVDataSetDef, CSVDataSetDefEditor>> getDriverClass()
focal_class.class_method_signature: CSVDataSetEditWorkflow.getEditorClass()
focal_class.full_signature: @Override protected Class<? extends CSVDataSetDefEditor> getEditorClass()
focal_class.identifier: getEditorClass
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Class<? extends CSVDataSetDefEditor>
focal_class.signature: Class<? extends CSVDataSetDefEditor> getEditorClass()
focal_class.class_method_signature: CSVDataSetEditWorkflow.validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_class.full_signature: @Override protected Iterable<ConstraintViolation<?>> validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_class.identifier: validate
focal_class.modifiers: @Override protected
focal_class.parameters: ( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_class.return: Iterable<ConstraintViolation<?>>
focal_class.signature: Iterable<ConstraintViolation<?>> validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_class.class_method_signature: CSVDataSetEditWorkflow.afterFlush()
focal_class.full_signature: @Override protected void afterFlush()
focal_class.identifier: afterFlush
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void afterFlush()
focal_class.superclass: extends DataSetEditWorkflow<CSVDataSetDef, CSVDataSetDefEditor>
focal_method.body: @Override
      protected Iterable<ConstraintViolation<?>> validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled ) {
  
          return validatorProvider.validate( dataSetDef,
                                             isCacheEnabled,
                                             isPushEnabled,
                                             isRefreshEnabled, editor.isUsingFilePath() );
      }
focal_method.class_method_signature: CSVDataSetEditWorkflow.validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_method.full_signature: @Override protected Iterable<ConstraintViolation<?>> validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_method.identifier: validate
focal_method.invocations: validate isUsingFilePath
focal_method.modifiers: @Override protected
focal_method.parameters: ( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )
focal_method.return: Iterable<ConstraintViolation<?>>
focal_method.signature: Iterable<ConstraintViolation<?>> validate( boolean isCacheEnabled,
                                                           boolean isPushEnabled,
                                                           boolean isRefreshEnabled )