def METHOD_NAME(self):
    plan_to_update = SoftwarePlan(name='Plan To Update')
    plan_to_update.save()
    version_to_update = SoftwarePlanVersion(
        role=self.old_role, plan=plan_to_update, product_rate=self.generic_product_rate
    )
    version_to_update.save()
    plan_to_ignore = SoftwarePlan(name='Plan To Ignore')
    plan_to_ignore.save()
    version_to_ignore = SoftwarePlanVersion(
        role=self.old_role, plan=plan_to_ignore, product_rate=self.generic_product_rate
    )
    version_to_ignore.save()
    change_role_for_software_plan_version(
        'old_role', 'new_role', limit_to_plan_version_id=version_to_update.id
    )
    # refetch
    plan_to_update = SoftwarePlan.objects.get(name='Plan To Update')
    plan_to_ignore = SoftwarePlan.objects.get(name='Plan To Ignore')
    self.assertEqual(plan_to_update.get_version().role.slug, 'new_role')
    self.assertEqual(plan_to_ignore.get_version().role.slug, 'old_role')