def METHOD_NAME(self, mock):
    """
    Test that the set_project_perms_to_xform_async task actually calls
    the set_project_perms_to_xform function
    """
    self._publish_transportation_form()
    set_project_perms_to_xform_async.delay(self.xform.pk, self.project.pk)
    self.assertTrue(mock.called)
    args, _kwargs = mock.call_args_list[0]
    self.assertEqual(args[0], self.xform)
    self.assertEqual(args[1], self.project)