def METHOD_NAME(self, mock_get_jobs_in_queue):
    """Make sure that the batch breakdown has the right stats"""
    mock_get_jobs_in_queue.side_effect = dummy_get_jobs_in_queue
    breakdown = get_batch_jobs_breakdown(force=True)
    self.assertEqual(
        set(breakdown.keys()),
        {
            "pending_jobs",
            "running_jobs",
            "pending_jobs_by_type",
            "running_jobs_by_type",
            "pending_jobs_by_queue",
            "running_jobs_by_queue",
        },
    )
    self.assertEqual(
        breakdown["pending_jobs"],
        PENDING_COMPENDIA_JOBS
        + PENDING_SMASHER_JOBS
        + PENDING_DOWNLOADER_JOBS
        + PENDING_SALMON_JOBS
        + PENDING_AFFY_JOBS,
    )
    self.assertEqual(
        breakdown["running_jobs"],
        RUNNING_COMPENDIA_JOBS
        + RUNNING_SMASHER_JOBS
        + RUNNING_DOWNLOADER_JOBS
        + RUNNING_SALMON_JOBS
        + RUNNING_AFFY_JOBS,
    )
    self.assertEqual(
        breakdown["pending_jobs_by_type"],
        {
            "CREATE_COMPENDIA": PENDING_COMPENDIA_JOBS,
            "SMASHER": PENDING_SMASHER_JOBS,
            "DOWNLOADER": PENDING_DOWNLOADER_JOBS,
            "SALMON": PENDING_SALMON_JOBS,
            "AFFY_TO_PCL": PENDING_AFFY_JOBS,
        },
    )
    self.assertEqual(
        breakdown["running_jobs_by_type"],
        {
            "CREATE_COMPENDIA": RUNNING_COMPENDIA_JOBS,
            "SMASHER": RUNNING_SMASHER_JOBS,
            "DOWNLOADER": RUNNING_DOWNLOADER_JOBS,
            "SALMON": RUNNING_SALMON_JOBS,
            "AFFY_TO_PCL": RUNNING_AFFY_JOBS,
        },
    )
    self.assertEqual(
        breakdown["pending_jobs_by_queue"],
        {
            "data-refinery-batch-compendia-queue-tests-dev": PENDING_COMPENDIA_JOBS,
            "data-refinery-batch-smasher-queue-tests-dev": PENDING_SMASHER_JOBS,
            "data-refinery-batch-workers-queue-tests-dev-0": PENDING_DOWNLOADER_JOBS
            + PENDING_SALMON_JOBS
            + PENDING_AFFY_JOBS,
        },
    )
    self.assertEqual(
        breakdown["running_jobs_by_queue"],
        {
            "data-refinery-batch-compendia-queue-tests-dev": RUNNING_COMPENDIA_JOBS,
            "data-refinery-batch-smasher-queue-tests-dev": RUNNING_SMASHER_JOBS,
            "data-refinery-batch-workers-queue-tests-dev-0": RUNNING_DOWNLOADER_JOBS
            + RUNNING_SALMON_JOBS
            + RUNNING_AFFY_JOBS,
        },
    )