def METHOD_NAME(self, mock_send_job):
    mock_send_job.side_effect = fake_send_job
    job = create_processor_job(pipeline="SALMON", ram_amount=16384, start_time=timezone.now())
    job_requeuing.requeue_processor_job(job)
    self.assertEqual(len(mock_send_job.mock_calls), 1)
    jobs = ProcessorJob.objects.order_by("id")
    original_job = jobs[0]
    self.assertTrue(original_job.retried)
    self.assertEqual(original_job.num_retries, 0)
    self.assertFalse(original_job.success)
    retried_job = jobs[1]
    self.assertEqual(retried_job.num_retries, 1)
    self.assertEqual(original_job.ram_amount, 16384)
    self.assertEqual(retried_job.ram_amount, 32768)