def METHOD_NAME(cls):
    cls.mbu = MetaBusinessUnit.objects.create(name=get_random_string(12))
    cls.mbu.create_enrollment_business_unit()
    cls.dep_enrollment_session, _, _ = force_dep_enrollment_session(
        cls.mbu, authenticated=True, completed=True, realm_user=True
    )
    cls.enrolled_device = cls.dep_enrollment_session.enrolled_device
    cls.blueprint = Blueprint.objects.create(name=get_random_string(12))
    cls.enrolled_device.blueprint = cls.blueprint
    cls.enrolled_device.save()
    cls.enrolled_user = EnrolledUser.objects.create(
        enrolled_device=cls.enrolled_device,
        user_id=str(uuid.uuid4()).upper(),
        long_name=get_random_string(12),
        short_name=get_random_string(12),
        token=get_random_string(12).encode("utf-8"),
    )