test_class.declarator: filterChangedEvent
test_class.modifier: @Mock
test_class.original_string: @Mock EventSourceMock<FilterChangedEvent> filterChangedEvent;
test_class.type: EventSourceMock<FilterChangedEvent>
test_class.var_name: filterChangedEvent
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetDefFilterEditor.View view;
test_class.type: DataSetDefFilterEditor.View
test_class.var_name: view
test_class.declarator: dataSetDef
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetDef dataSetDef;
test_class.type: DataSetDef
test_class.var_name: dataSetDef
test_class.declarator: dataSetFilterEditor
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetFilterEditor dataSetFilterEditor;
test_class.type: DataSetFilterEditor
test_class.var_name: dataSetFilterEditor
test_class.declarator: dataSetMetadata = mock(DataSetMetadata.class)
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetMetadata dataSetMetadata = mock(DataSetMetadata.class);
test_class.type: DataSetMetadata
test_class.var_name: dataSetMetadata
test_class.declarator: filter1 = mock(DataSetFilter.class)
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetFilter filter1 = mock(DataSetFilter.class);
test_class.type: DataSetFilter
test_class.var_name: filter1
test_class.declarator: filter2 = mock(DataSetFilter.class)
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetFilter filter2 = mock(DataSetFilter.class);
test_class.type: DataSetFilter
test_class.var_name: filter2
test_class.declarator: tested
test_class.modifier: private
test_class.original_string: private DataSetDefFilterEditor tested;
test_class.type: DataSetDefFilterEditor
test_class.var_name: tested
test_class.file: dashbuilder-client/dashbuilder-widgets/src/test/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefFilterEditorTest.java
test_class.identifier: DataSetDefFilterEditorTest
test_case.body: @Test
      public void testSetValue() throws Exception {
          tested.setValue(filter1);
          assertEquals(filter2, tested.value);
          verify(view, never()).setWidget(any(IsWidget.class));
          verify(dataSetFilterEditor, never()).init(any(DataSetFilter.class), any(DataSetMetadata.class));
      }
test_case.class_method_signature: DataSetDefFilterEditorTest.testSetValue()
test_case.full_signature: @Test public void testSetValue()
test_case.identifier: testSetValue
test_case.invocations: setValue assertEquals setWidget verify never any init verify never any any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetValue()
focal_class.declarator: filterChangedEvent
focal_class.original_string: Event<FilterChangedEvent> filterChangedEvent;
focal_class.type: Event<FilterChangedEvent>
focal_class.var_name: filterChangedEvent
focal_class.declarator: view
focal_class.modifier: public
focal_class.original_string: public View view;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: filterEditor
focal_class.original_string: DataSetFilterEditor filterEditor;
focal_class.type: DataSetFilterEditor
focal_class.var_name: filterEditor
focal_class.declarator: value
focal_class.original_string: DataSetFilter value;
focal_class.type: DataSetFilter
focal_class.var_name: value
focal_class.file: dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefFilterEditor.java
focal_class.identifier: DataSetDefFilterEditor
focal_class.interfaces: implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor
focal_class.class_method_signature: DataSetDefFilterEditor.DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent)
focal_class.full_signature: @Inject public  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent)
focal_class.identifier: DataSetDefFilterEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent)
focal_class.signature:  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent)
focal_class.class_method_signature: DataSetDefFilterEditor.init(DataSetMetadata metadata)
focal_class.full_signature: @Override public void init(DataSetMetadata metadata)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (DataSetMetadata metadata)
focal_class.return: void
focal_class.signature: void init(DataSetMetadata metadata)
focal_class.class_method_signature: DataSetDefFilterEditor.asWidget()
focal_class.full_signature: @Override public Widget asWidget()
focal_class.identifier: asWidget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Widget
focal_class.signature: Widget asWidget()
focal_class.class_method_signature: DataSetDefFilterEditor.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: DataSetDefFilterEditor.onPropertyChange(final String... paths)
focal_class.full_signature: @Override public void onPropertyChange(final String... paths)
focal_class.identifier: onPropertyChange
focal_class.modifiers: @Override public
focal_class.parameters: (final String... paths)
focal_class.return: void
focal_class.signature: void onPropertyChange(final String... paths)
focal_class.class_method_signature: DataSetDefFilterEditor.setValue(final DataSetFilter value)
focal_class.full_signature: @Override public void setValue(final DataSetFilter value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (final DataSetFilter value)
focal_class.return: void
focal_class.signature: void setValue(final DataSetFilter value)
focal_class.class_method_signature: DataSetDefFilterEditor.setDelegate(final EditorDelegate<DataSetFilter> delegate)
focal_class.full_signature: @Override public void setDelegate(final EditorDelegate<DataSetFilter> delegate)
focal_class.identifier: setDelegate
focal_class.modifiers: @Override public
focal_class.parameters: (final EditorDelegate<DataSetFilter> delegate)
focal_class.return: void
focal_class.signature: void setDelegate(final EditorDelegate<DataSetFilter> delegate)
focal_class.class_method_signature: DataSetDefFilterEditor.onValueChanged(@Observes DataSetFilterChangedEvent event)
focal_class.full_signature:  void onValueChanged(@Observes DataSetFilterChangedEvent event)
focal_class.identifier: onValueChanged
focal_class.parameters: (@Observes DataSetFilterChangedEvent event)
focal_class.return: void
focal_class.signature: void onValueChanged(@Observes DataSetFilterChangedEvent event)
focal_method.body: @Override
      public void setValue(final DataSetFilter value) {
          this.value = value != null ? value.cloneInstance() : null;
      }
focal_method.class_method_signature: DataSetDefFilterEditor.setValue(final DataSetFilter value)
focal_method.full_signature: @Override public void setValue(final DataSetFilter value)
focal_method.identifier: setValue
focal_method.invocations: cloneInstance
focal_method.modifiers: @Override public
focal_method.parameters: (final DataSetFilter value)
focal_method.return: void
focal_method.signature: void setValue(final DataSetFilter value)