def METHOD_NAME(self):
    project_ids = ["1", "2", "3"]
    component_codes = ["a", "b", "c"]
    self.call_batch_operate_project_based_component(
        component_codes, project_ids=[int(project_id) for project_id in project_ids]
    )
    self.assertEqual(
        ProjectBasedComponent.objects.filter(
            project_id__in=project_ids, component_code__in=component_codes
        ).count(),
        9,
    )