def METHOD_NAME(self):
    doc = DIDDoc(did=self.test_did)
    controller = self.test_did
    ident = "1"
    pk_value = self.test_verkey
    pk = PublicKey(
        self.test_did,
        ident,
        pk_value,
        PublicKeyType.ED25519_SIG_2018,
        controller,
        False,
    )
    doc.set(pk)
    recip_keys = [pk]
    router_keys = []
    service = Service(
        self.test_did,
        "indy",
        "IndyAgent",
        recip_keys,
        router_keys,
        self.test_endpoint,
    )
    doc.set(service)
    return doc