def METHOD_NAME(self):
    class MockJsComponent(javascriptregistry.component.AbstractJsComponent):
        @classmethod
        def get_component_id(cls):
            return 'mock'
        def get_dependencies(self):
            return [JsComponent1.get_component_id(), JsComponent2.get_component_id()]
    registry = javascriptregistry.MockableRegistry()
    registry.add(JsComponent1)
    registry.add(JsComponent2)
    registry.add(MockJsComponent)
    component_objects = registry.get_component_objects(
        request=None,
        component_ids=[MockJsComponent.get_component_id()])
    component_ids = [component.component_id for component in component_objects]
    self.assertEqual(
        [
            JsComponent1.get_component_id(),
            JsComponent2.get_component_id(),
            MockJsComponent.get_component_id(),
        ],
        component_ids)