def METHOD_NAME(self):
    plan = SoftwarePlan(name='Test Plan')
    plan.save()
    version = SoftwarePlanVersion(role=self.old_role, plan=plan, product_rate=self.generic_product_rate)
    version.save()
    change_role_for_software_plan_version('old_role', 'new_role', dry_run=True)
    # refetch
    plan = SoftwarePlan.objects.get(name='Test Plan')
    self.assertEqual(plan.get_version().role.slug, 'old_role')