test_class.declarator: placeRequest
test_class.modifier: @Mock
test_class.original_string: @Mock PlaceRequest placeRequest;
test_class.type: PlaceRequest
test_class.var_name: placeRequest
test_class.declarator: placeManager
test_class.modifier: @Mock
test_class.original_string: @Mock PlaceManager placeManager;
test_class.type: PlaceManager
test_class.var_name: placeManager
test_class.declarator: notification
test_class.modifier: @Mock
test_class.original_string: @Mock EventSourceMock<NotificationEvent> notification;
test_class.type: EventSourceMock<NotificationEvent>
test_class.var_name: notification
test_class.declarator: errorPopupPresenter
test_class.modifier: @Mock
test_class.original_string: @Mock ErrorPopupPresenter errorPopupPresenter;
test_class.type: ErrorPopupPresenter
test_class.var_name: errorPopupPresenter
test_class.declarator: explorerWidget
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetExplorer explorerWidget;
test_class.type: DataSetExplorer
test_class.var_name: explorerWidget
test_class.declarator: dataSetDefVfsServices
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetDefVfsServices dataSetDefVfsServices;
test_class.type: DataSetDefVfsServices
test_class.var_name: dataSetDefVfsServices
test_class.declarator: services
test_class.modifier: @Mock
test_class.original_string: @Mock Caller<DataSetDefVfsServices> services;
test_class.type: Caller<DataSetDefVfsServices>
test_class.var_name: services
test_class.declarator: presenter
test_class.modifier: @InjectMocks
test_class.original_string: @InjectMocks
      DataSetDefExplorerScreen presenter;
test_class.type: DataSetDefExplorerScreen
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-dataset-editor/src/test/java/org/dashbuilder/dataset/editor/client/screens/DataSetDefExplorerScreenTest.java
test_class.identifier: DataSetDefExplorerScreenTest
test_case.body: @Test
      public void testOnErrorEvent() {
          final ErrorEvent errorDataSetEvent = mock(ErrorEvent.class);
          when(errorDataSetEvent.getMessage()).thenReturn("errorMessage");
          presenter.onErrorEvent(errorDataSetEvent);
          verify(errorPopupPresenter, times(1)).showMessage("errorMessage");
      }
test_case.class_method_signature: DataSetDefExplorerScreenTest.testOnErrorEvent()
test_case.full_signature: @Test public void testOnErrorEvent()
test_case.identifier: testOnErrorEvent
test_case.invocations: mock thenReturn when getMessage onErrorEvent showMessage verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOnErrorEvent()
focal_class.declarator: menu = null
focal_class.modifier: private
focal_class.original_string: private Menus menu = null;
focal_class.type: Menus
focal_class.var_name: menu
focal_class.declarator: placeManager
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      PlaceManager placeManager;
focal_class.type: PlaceManager
focal_class.var_name: placeManager
focal_class.declarator: services
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      Caller<DataSetDefVfsServices> services;
focal_class.type: Caller<DataSetDefVfsServices>
focal_class.var_name: services
focal_class.declarator: notification
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      Event<NotificationEvent> notification;
focal_class.type: Event<NotificationEvent>
focal_class.var_name: notification
focal_class.declarator: explorerWidget
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      DataSetExplorer explorerWidget;
focal_class.type: DataSetExplorer
focal_class.var_name: explorerWidget
focal_class.declarator: errorPopupPresenter
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ErrorPopupPresenter errorPopupPresenter;
focal_class.type: ErrorPopupPresenter
focal_class.var_name: errorPopupPresenter
focal_class.file: dashbuilder-client/dashbuilder-dataset-editor/src/main/java/org/dashbuilder/dataset/editor/client/screens/DataSetDefExplorerScreen.java
focal_class.identifier: DataSetDefExplorerScreen
focal_class.class_method_signature: DataSetDefExplorerScreen.onStartup(PlaceRequest placeRequest)
focal_class.full_signature: @OnStartup public void onStartup(PlaceRequest placeRequest)
focal_class.identifier: onStartup
focal_class.modifiers: @OnStartup public
focal_class.parameters: (PlaceRequest placeRequest)
focal_class.return: void
focal_class.signature: void onStartup(PlaceRequest placeRequest)
focal_class.class_method_signature: DataSetDefExplorerScreen.onClose()
focal_class.full_signature: @OnClose public void onClose()
focal_class.identifier: onClose
focal_class.modifiers: @OnClose public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onClose()
focal_class.class_method_signature: DataSetDefExplorerScreen.getTitle()
focal_class.full_signature: @WorkbenchPartTitle public String getTitle()
focal_class.identifier: getTitle
focal_class.modifiers: @WorkbenchPartTitle public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTitle()
focal_class.class_method_signature: DataSetDefExplorerScreen.getView()
focal_class.full_signature: @WorkbenchPartView public IsWidget getView()
focal_class.identifier: getView
focal_class.modifiers: @WorkbenchPartView public
focal_class.parameters: ()
focal_class.return: IsWidget
focal_class.signature: IsWidget getView()
focal_class.class_method_signature: DataSetDefExplorerScreen.getMenu()
focal_class.full_signature: @WorkbenchMenu public Menus getMenu()
focal_class.identifier: getMenu
focal_class.modifiers: @WorkbenchMenu public
focal_class.parameters: ()
focal_class.return: Menus
focal_class.signature: Menus getMenu()
focal_class.class_method_signature: DataSetDefExplorerScreen.makeMenuBar()
focal_class.full_signature: private Menus makeMenuBar()
focal_class.identifier: makeMenuBar
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Menus
focal_class.signature: Menus makeMenuBar()
focal_class.class_method_signature: DataSetDefExplorerScreen.getNewCommand()
focal_class.full_signature: private Command getNewCommand()
focal_class.identifier: getNewCommand
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Command
focal_class.signature: Command getNewCommand()
focal_class.class_method_signature: DataSetDefExplorerScreen.newDataSet()
focal_class.full_signature:  void newDataSet()
focal_class.identifier: newDataSet
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void newDataSet()
focal_class.class_method_signature: DataSetDefExplorerScreen.showError(final ClientRuntimeError error)
focal_class.full_signature: private void showError(final ClientRuntimeError error)
focal_class.identifier: showError
focal_class.modifiers: private
focal_class.parameters: (final ClientRuntimeError error)
focal_class.return: void
focal_class.signature: void showError(final ClientRuntimeError error)
focal_class.class_method_signature: DataSetDefExplorerScreen.showError(final String message)
focal_class.full_signature: private void showError(final String message)
focal_class.identifier: showError
focal_class.modifiers: private
focal_class.parameters: (final String message)
focal_class.return: void
focal_class.signature: void showError(final String message)
focal_class.class_method_signature: DataSetDefExplorerScreen.onEditDataSetEvent(@Observes EditDataSetEvent event)
focal_class.full_signature:  void onEditDataSetEvent(@Observes EditDataSetEvent event)
focal_class.identifier: onEditDataSetEvent
focal_class.parameters: (@Observes EditDataSetEvent event)
focal_class.return: void
focal_class.signature: void onEditDataSetEvent(@Observes EditDataSetEvent event)
focal_class.class_method_signature: DataSetDefExplorerScreen.onErrorEvent(@Observes ErrorEvent errorEvent)
focal_class.full_signature:  void onErrorEvent(@Observes ErrorEvent errorEvent)
focal_class.identifier: onErrorEvent
focal_class.parameters: (@Observes ErrorEvent errorEvent)
focal_class.return: void
focal_class.signature: void onErrorEvent(@Observes ErrorEvent errorEvent)
focal_method.body: void onErrorEvent(@Observes ErrorEvent errorEvent) {
          checkNotNull("errorEvent",
                       errorEvent);
          if (errorEvent.getClientRuntimeError() != null) {
              showError(errorEvent.getClientRuntimeError());
          } else if (errorEvent.getMessage() != null) {
              showError(errorEvent.getMessage());
          }
      }
focal_method.class_method_signature: DataSetDefExplorerScreen.onErrorEvent(@Observes ErrorEvent errorEvent)
focal_method.full_signature:  void onErrorEvent(@Observes ErrorEvent errorEvent)
focal_method.identifier: onErrorEvent
focal_method.invocations: checkNotNull getClientRuntimeError showError getClientRuntimeError getMessage showError getMessage
focal_method.parameters: (@Observes ErrorEvent errorEvent)
focal_method.return: void
focal_method.signature: void onErrorEvent(@Observes ErrorEvent errorEvent)