test_class.declarator: typeView
test_class.modifier: @Mock
test_class.original_string: @Mock
      DisplayerTypeSelector.View typeView;
test_class.type: DisplayerTypeSelector.View
test_class.var_name: typeView
test_class.declarator: subtypeSelector
test_class.modifier: @Mock
test_class.original_string: @Mock
      DisplayerSubtypeSelector subtypeSelector;
test_class.type: DisplayerSubtypeSelector
test_class.var_name: subtypeSelector
test_class.declarator: typeSelectedEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      EventSourceMock<DisplayerTypeSelectedEvent> typeSelectedEvent;
test_class.type: EventSourceMock<DisplayerTypeSelectedEvent>
test_class.var_name: typeSelectedEvent
test_class.declarator: presenter
test_class.original_string: DisplayerTypeSelector presenter;
test_class.type: DisplayerTypeSelector
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/widgets/DisplayerTypeSelectorTest.java
test_class.identifier: DisplayerTypeSelectorTest
test_case.body: @Test
      public void testOnSelect() {
          presenter.onSelect(BARCHART);
          assertEquals(presenter.getSelectedType(), BARCHART);
          verify(typeSelectedEvent).fire(any(DisplayerTypeSelectedEvent.class));
      }
test_case.class_method_signature: DisplayerTypeSelectorTest.testOnSelect()
test_case.full_signature: @Test public void testOnSelect()
test_case.identifier: testOnSelect
test_case.invocations: onSelect assertEquals getSelectedType fire verify any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOnSelect()
focal_class.declarator: view = null
focal_class.original_string: View view = null;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: selectedType = DisplayerType.BARCHART
focal_class.original_string: DisplayerType selectedType = DisplayerType.BARCHART;
focal_class.type: DisplayerType
focal_class.var_name: selectedType
focal_class.declarator: subtypeSelector
focal_class.original_string: DisplayerSubtypeSelector subtypeSelector;
focal_class.type: DisplayerSubtypeSelector
focal_class.var_name: subtypeSelector
focal_class.declarator: typeSelectedEvent
focal_class.original_string: Event<DisplayerTypeSelectedEvent> typeSelectedEvent;
focal_class.type: Event<DisplayerTypeSelectedEvent>
focal_class.var_name: typeSelectedEvent
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/DisplayerTypeSelector.java
focal_class.identifier: DisplayerTypeSelector
focal_class.interfaces: implements IsWidget
focal_class.class_method_signature: DisplayerTypeSelector.DisplayerTypeSelector(View view,
                                   DisplayerSubtypeSelector subtypeSelector,
                                   Event<DisplayerTypeSelectedEvent> typeSelectedEvent)
focal_class.full_signature: @Inject public  DisplayerTypeSelector(View view,
                                   DisplayerSubtypeSelector subtypeSelector,
                                   Event<DisplayerTypeSelectedEvent> typeSelectedEvent)
focal_class.identifier: DisplayerTypeSelector
focal_class.modifiers: @Inject public
focal_class.parameters: (View view,
                                   DisplayerSubtypeSelector subtypeSelector,
                                   Event<DisplayerTypeSelectedEvent> typeSelectedEvent)
focal_class.signature:  DisplayerTypeSelector(View view,
                                   DisplayerSubtypeSelector subtypeSelector,
                                   Event<DisplayerTypeSelectedEvent> typeSelectedEvent)
focal_class.class_method_signature: DisplayerTypeSelector.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: DisplayerTypeSelector.getSelectedType()
focal_class.full_signature: public DisplayerType getSelectedType()
focal_class.identifier: getSelectedType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DisplayerType
focal_class.signature: DisplayerType getSelectedType()
focal_class.class_method_signature: DisplayerTypeSelector.getSelectedSubType()
focal_class.full_signature: public DisplayerSubType getSelectedSubType()
focal_class.identifier: getSelectedSubType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DisplayerSubType
focal_class.signature: DisplayerSubType getSelectedSubType()
focal_class.class_method_signature: DisplayerTypeSelector.getSubtypeSelector()
focal_class.full_signature: public DisplayerSubtypeSelector getSubtypeSelector()
focal_class.identifier: getSubtypeSelector
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DisplayerSubtypeSelector
focal_class.signature: DisplayerSubtypeSelector getSubtypeSelector()
focal_class.class_method_signature: DisplayerTypeSelector.init(DisplayerType selectedType, DisplayerSubType selectedSubtype)
focal_class.full_signature: public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (DisplayerType selectedType, DisplayerSubType selectedSubtype)
focal_class.return: void
focal_class.signature: void init(DisplayerType selectedType, DisplayerSubType selectedSubtype)
focal_class.class_method_signature: DisplayerTypeSelector.onSelect(DisplayerType type)
focal_class.full_signature:  void onSelect(DisplayerType type)
focal_class.identifier: onSelect
focal_class.parameters: (DisplayerType type)
focal_class.return: void
focal_class.signature: void onSelect(DisplayerType type)
focal_method.body: void onSelect(DisplayerType type) {
          selectedType = type;
          subtypeSelector.init(type, null);
          typeSelectedEvent.fire(new DisplayerTypeSelectedEvent(selectedType));
      }
focal_method.class_method_signature: DisplayerTypeSelector.onSelect(DisplayerType type)
focal_method.full_signature:  void onSelect(DisplayerType type)
focal_method.identifier: onSelect
focal_method.invocations: init fire
focal_method.parameters: (DisplayerType type)
focal_method.return: void
focal_method.signature: void onSelect(DisplayerType type)