test_class.declarator: gazePlay
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GazePlay gazePlay;
test_class.type: GazePlay
test_class.var_name: gazePlay
test_class.declarator: screenDimensionSupplier
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ScreenDimensionSupplier screenDimensionSupplier;
test_class.type: ScreenDimensionSupplier
test_class.var_name: screenDimensionSupplier
test_class.file: gazeplay-core/src/test/java/net/gazeplay/commons/utils/ConfigurationButtonFactoryTest.java
test_class.identifier: ConfigurationButtonFactoryTest
test_case.body: @Test
      void shouldCreateConfigurationButton() {
          ConfigurationButton button = ConfigurationButtonFactory.createConfigurationButton(gazePlay);
          button.fireEvent(TestingUtils.clickOnTarget(button));
  
          verify(gazePlay).onDisplayConfigurationManagement();
      }
test_case.class_method_signature: ConfigurationButtonFactoryTest.shouldCreateConfigurationButton()
test_case.full_signature: @Test void shouldCreateConfigurationButton()
test_case.identifier: shouldCreateConfigurationButton
test_case.invocations: createConfigurationButton fireEvent clickOnTarget onDisplayConfigurationManagement verify
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldCreateConfigurationButton()
focal_class.file: gazeplay-core/src/main/java/net/gazeplay/commons/utils/ConfigurationButtonFactory.java
focal_class.identifier: ConfigurationButtonFactory
focal_class.class_method_signature: ConfigurationButtonFactory.createConfigurationButton(GazePlay gazePlay)
focal_class.full_signature: public static ConfigurationButton createConfigurationButton(GazePlay gazePlay)
focal_class.identifier: createConfigurationButton
focal_class.modifiers: public static
focal_class.parameters: (GazePlay gazePlay)
focal_class.return: ConfigurationButton
focal_class.signature: ConfigurationButton createConfigurationButton(GazePlay gazePlay)
focal_method.body: public static ConfigurationButton createConfigurationButton(GazePlay gazePlay) {
          Dimension2D screenDimension = gazePlay.getCurrentScreenDimensionSupplier().get();
          ConfigurationButton configurationButton = new ConfigurationButton(screenDimension);
          configurationButton.addEventHandler(
              MouseEvent.MOUSE_CLICKED,
              e -> gazePlay.onDisplayConfigurationManagement());
          return configurationButton;
      }
focal_method.class_method_signature: ConfigurationButtonFactory.createConfigurationButton(GazePlay gazePlay)
focal_method.full_signature: public static ConfigurationButton createConfigurationButton(GazePlay gazePlay)
focal_method.identifier: createConfigurationButton
focal_method.invocations: get getCurrentScreenDimensionSupplier addEventHandler onDisplayConfigurationManagement
focal_method.modifiers: public static
focal_method.parameters: (GazePlay gazePlay)
focal_method.return: ConfigurationButton
focal_method.signature: ConfigurationButton createConfigurationButton(GazePlay gazePlay)