def METHOD_NAME(controlplane_instance_group, containerized_job, mocker):
    """Construct a scenario where only 1 job will fit within the max_concurrent_jobs of the container group.
    Since max_concurrent_jobs is set to 1, even though 2 jobs are in pending
    and would be launched into the container group, only one will be started.
    """
    containerized_job.unified_job_template.allow_simultaneous = True
    containerized_job.unified_job_template.save()
    default_instance_group = containerized_job.instance_group
    default_instance_group.max_concurrent_jobs = 1
    default_instance_group.save()
    task_impact = 1
    # Create a second job that should not be scheduled at first, blocked by the other
    create_job(containerized_job.unified_job_template)
    tm = TaskManager()
    with mock.patch('awx.main.models.Job.task_impact', new_callable=mock.PropertyMock) as mock_task_impact:
        mock_task_impact.return_value = task_impact
        with mock.patch.object(TaskManager, "start_task", wraps=tm.start_task) as mock_job:
            tm.schedule()
            mock_job.assert_called_once()