test_class.declarator: rule = new PowerMockRule()
test_class.modifier: @Rule
    public
test_class.original_string: @Rule
    public PowerMockRule rule = new PowerMockRule();
test_class.type: PowerMockRule
test_class.var_name: rule
test_class.declarator: CUSTOM_BUBBLING_EVENT_TYPES = "customBubblingEventTypes"
test_class.modifier: private static final
test_class.original_string: private static final String CUSTOM_BUBBLING_EVENT_TYPES = "customBubblingEventTypes";
test_class.type: String
test_class.var_name: CUSTOM_BUBBLING_EVENT_TYPES
test_class.declarator: CUSTOM_DIRECT_EVENT_TYPES = "customDirectEventTypes"
test_class.modifier: private static final
test_class.original_string: private static final String CUSTOM_DIRECT_EVENT_TYPES = "customDirectEventTypes";
test_class.type: String
test_class.var_name: CUSTOM_DIRECT_EVENT_TYPES
test_class.declarator: TWIRL_BUBBLING_EVENT_MAP = MapBuilder.of(
        "phasedRegistrationNames",
        MapBuilder.of(
            "bubbled",
            "onTwirl",
            "captured",
            "onTwirlCaptured"))
test_class.modifier: private static final
test_class.original_string: private static final Map TWIRL_BUBBLING_EVENT_MAP = MapBuilder.of(
        "phasedRegistrationNames",
        MapBuilder.of(
            "bubbled",
            "onTwirl",
            "captured",
            "onTwirlCaptured"));
test_class.type: Map
test_class.var_name: TWIRL_BUBBLING_EVENT_MAP
test_class.declarator: TWIRL_DIRECT_EVENT_MAP = MapBuilder.of("registrationName", "onTwirl")
test_class.modifier: private static final
test_class.original_string: private static final Map TWIRL_DIRECT_EVENT_MAP = MapBuilder.of("registrationName", "onTwirl");
test_class.type: Map
test_class.var_name: TWIRL_DIRECT_EVENT_MAP
test_class.declarator: mReactContext
test_class.modifier: private
test_class.original_string: private ReactApplicationContext mReactContext;
test_class.type: ReactApplicationContext
test_class.var_name: mReactContext
test_class.declarator: mUIImplementation
test_class.modifier: private
test_class.original_string: private UIImplementation mUIImplementation;
test_class.type: UIImplementation
test_class.var_name: mUIImplementation
test_class.file: node_modules/react-native/ReactAndroid/src/test/java/com/facebook/react/uimanager/UIManagerModuleConstantsTest.java
test_class.identifier: UIManagerModuleConstantsTest
test_case.body: @Test
    public void testCustomBubblingEvents() {
      ViewManager mockViewManager = mock(ViewManager.class);
      List<ViewManager> viewManagers = Arrays.asList(mockViewManager);
      when(mockViewManager.getExportedCustomBubblingEventTypeConstants())
          .thenReturn(MapBuilder.of("onTwirl", TWIRL_BUBBLING_EVENT_MAP));
      UIManagerModule uiManagerModule = new UIManagerModule(
          mReactContext,
          viewManagers,
          mUIImplementation);
      Map<String, Object> constants = uiManagerModule.getConstants();
      assertThat((Map) constants.get(CUSTOM_BUBBLING_EVENT_TYPES))
          .contains(MapEntry.entry("onTwirl", TWIRL_BUBBLING_EVENT_MAP))
          .containsKey("topChange");
    }
test_case.class_method_signature: UIManagerModuleConstantsTest.testCustomBubblingEvents()
test_case.full_signature: @Test public void testCustomBubblingEvents()
test_case.identifier: testCustomBubblingEvents
test_case.invocations: mock asList thenReturn when getExportedCustomBubblingEventTypeConstants of getConstants containsKey contains assertThat get entry
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCustomBubblingEvents()
focal_class.declarator: ACTION_DISMISSED = "dismissed"
focal_class.modifier: public static final
focal_class.original_string: public static final String ACTION_DISMISSED = "dismissed";
focal_class.type: String
focal_class.var_name: ACTION_DISMISSED
focal_class.declarator: ACTION_ITEM_SELECTED = "itemSelected"
focal_class.modifier: public static final
focal_class.original_string: public static final String ACTION_ITEM_SELECTED = "itemSelected";
focal_class.type: String
focal_class.var_name: ACTION_ITEM_SELECTED
focal_class.file: node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModuleConstants.java
focal_class.identifier: UIManagerModuleConstants
focal_class.class_method_signature: UIManagerModuleConstants.getBubblingEventTypeConstants()
focal_class.full_signature: static Map getBubblingEventTypeConstants()
focal_class.identifier: getBubblingEventTypeConstants
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: Map
focal_class.signature: Map getBubblingEventTypeConstants()
focal_class.class_method_signature: UIManagerModuleConstants.getDirectEventTypeConstants()
focal_class.full_signature: static Map getDirectEventTypeConstants()
focal_class.identifier: getDirectEventTypeConstants
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: Map
focal_class.signature: Map getDirectEventTypeConstants()
focal_class.class_method_signature: UIManagerModuleConstants.getConstants()
focal_class.full_signature: public static Map<String, Object> getConstants()
focal_class.identifier: getConstants
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getConstants()
focal_method.body: public static Map<String, Object> getConstants() {
      HashMap<String, Object> constants = new HashMap<String, Object>();
      constants.put(
          "UIView",
          MapBuilder.of(
              "ContentMode",
              MapBuilder.of(
                  "ScaleAspectFit",
                  ImageView.ScaleType.CENTER_INSIDE.ordinal(),
                  "ScaleAspectFill",
                  ImageView.ScaleType.CENTER_CROP.ordinal())));
  
      DisplayMetrics displayMetrics = DisplayMetricsHolder.getWindowDisplayMetrics();
      DisplayMetrics screenDisplayMetrics = DisplayMetricsHolder.getScreenDisplayMetrics();
      constants.put(
          "Dimensions",
          MapBuilder.of(
              "windowPhysicalPixels",
              MapBuilder.of(
                  "width",
                  displayMetrics.widthPixels,
                  "height",
                  displayMetrics.heightPixels,
                  "scale",
                  displayMetrics.density,
                  "fontScale",
                  displayMetrics.scaledDensity,
                  "densityDpi",
                  displayMetrics.densityDpi),
          "screenPhysicalPixels",
          MapBuilder.of(
              "width",
              screenDisplayMetrics.widthPixels,
              "height",
              screenDisplayMetrics.heightPixels,
              "scale",
              screenDisplayMetrics.density,
              "fontScale",
              screenDisplayMetrics.scaledDensity,
              "densityDpi",
              screenDisplayMetrics.densityDpi)));
  
      constants.put(
          "StyleConstants",
          MapBuilder.of(
              "PointerEventsValues",
              MapBuilder.of(
                  "none",
                  PointerEvents.NONE.ordinal(),
                  "boxNone",
                  PointerEvents.BOX_NONE.ordinal(),
                  "boxOnly",
                  PointerEvents.BOX_ONLY.ordinal(),
                  "unspecified",
                  PointerEvents.AUTO.ordinal())));
  
      constants.put(
          "PopupMenu",
          MapBuilder.of(
              ACTION_DISMISSED,
              ACTION_DISMISSED,
              ACTION_ITEM_SELECTED,
              ACTION_ITEM_SELECTED));
  
      constants.put(
        "AccessibilityEventTypes",
        MapBuilder.of(
            "typeWindowStateChanged",
            AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED,
            "typeViewClicked",
            AccessibilityEvent.TYPE_VIEW_CLICKED));
  
      return constants;
    }
focal_method.class_method_signature: UIManagerModuleConstants.getConstants()
focal_method.full_signature: public static Map<String, Object> getConstants()
focal_method.identifier: getConstants
focal_method.invocations: put of of ordinal ordinal getWindowDisplayMetrics getScreenDisplayMetrics put of of of put of of ordinal ordinal ordinal ordinal put of put of
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Map<String, Object>
focal_method.signature: Map<String, Object> getConstants()