def METHOD_NAME(cls):
    call_command('cchq_prbac_bootstrap')
    cls.account, _ = BillingAccount.get_or_create_account_by_domain(cls.domain.name, created_by='')
    plan_version = DefaultProductPlan.get_default_plan_version(SoftwarePlanEdition.ADVANCED)
    cls.subscription = Subscription.new_domain_subscription(cls.account, cls.domain.name, plan_version)