async def METHOD_NAME(
    self, resolver: IndyDIDResolver, ledger: BaseLedger, profile: Profile
):
    """Test resolve method when no did is found."""
    ledger.get_key_for_did.side_effect = LedgerError
    with pytest.raises(DIDNotFound):
        await resolver.resolve(profile, TEST_DID0)