def METHOD_NAME(self): 
    self.op_local_conf = deepcopy(op_conf)
    FederationEntityConfiguration.objects.create(**self.op_local_conf)
    self.ta_fes = FetchedEntityStatement.objects.create(
        sub=TA_SUB,
        iss=TA_SUB,
        exp=datetime_from_timestamp(exp_from_now(33)),
        iat=datetime_from_timestamp(iat_now()),
    )
    self.trust_chain = TrustChain.objects.create(
        sub=RP_SUB,
        exp=datetime_from_timestamp(exp_from_now(33)),
        jwks = [],
        metadata=RP_METADATA,
        status="valid",
        trust_anchor=self.ta_fes,
        is_active=True,
    )
    self.jwt_auds = [op_conf["sub"], "http://testserver/oidc/op/", "http://testserver/oidc/op/token"]
    CLIENT_ASSERTION = {
        "iss": RP_SUB,
        "sub": RP_SUB,
        "aud": self.jwt_auds,
        "exp": exp_from_now(),
        "iat": iat_now(),
        "jti": "jti",
    }
    self.ca_jws = create_jws(CLIENT_ASSERTION, RP_METADATA_JWK1)
    self.refresh_token = {
        "iss": self.op_local_conf["sub"],
        "sub": RP_SUB,
        "exp": exp_from_now(),
        "iat": iat_now(),
        "aud": self.jwt_auds,
        "client_id": RP_CLIENT_ID,
        "scope": "openid",
    }
    session = OidcSession.objects.create(
        user=User.objects.create(username = "username"),
        user_uid="",
        nonce="",
        authz_request={"scope": "openid", "nonce": "123", "code_challenge": PKCE["code_challenge"]}, 
        client_id="",
        auth_code="code",
    )
    IssuedToken.objects.create(
        access_token = create_jws(self.refresh_token, op_conf_priv_jwk, typ="at-jwt"),
        refresh_token = create_jws(self.refresh_token, op_conf_priv_jwk),
        session = session,
        expires = timezone.localtime()
    )