def METHOD_NAME(self):
    test_cred = credential.Credential(
        {
            "thread_id": "thread-12345-67890",
            "schema_id": "schema id",
            "cred_def_id": "not:a:did:987654",
            "rev_reg_id": "rev reg id",
            "attrs": {"topic_id": "topic-source-id"},
        },
        None,
    )
    pconfig = {
        "topic": [
            {
                "source_id": {"input": "topic_id", "from": "claim"},
                "type": {"input": "topic-type", "from": "value"},
                "related_source_id": {
                    "input": "related-source-id",
                    "from": "value",
                },
                "related_type": {"input": "related-type", "from": "value"},
            }
        ]
    }
    mgr = credential.CredentialManager()
    (
        topic,
        related_topic,
        topic_created,
        related_topic_created,
    ) = mgr.resolve_credential_topics(test_cred, pconfig)
    assert topic.source_id == "topic-source-id"
    assert topic.type == "topic-type"
    assert topic_created
    assert related_topic.source_id == "related-source-id"
    assert related_topic.type == "related-type"
    assert related_topic_created