def METHOD_NAME(self):
    super().METHOD_NAME()
    self.adapter = DOTAdapter()
    self.user = UserFactory()
    self.public_client = self.adapter.create_public_client(
        name='public app',
        user=self.user,
        redirect_uri=DUMMY_REDIRECT_URL,
        client_id='public-client-id',
    )
    self.confidential_client = self.adapter.create_confidential_client(
        name='confidential app',
        user=self.user,
        redirect_uri=DUMMY_REDIRECT_URL,
        client_id='confidential-client-id',
    )
    self.restricted_client = self.adapter.create_confidential_client(
        name='restricted app',
        user=self.user,
        redirect_uri=DUMMY_REDIRECT_URL2,
        client_id='restricted-client-id',
    )
    self.restricted_app = RestrictedApplication.objects.create(application=self.restricted_client)