async def METHOD_NAME(
    self, profile: Profile, resolver: IndyDIDResolver
):
    """Test resolve method with no ledger."""
    profile.context.injector.bind_instance(
        IndyLedgerRequestsExecutor,
        async_mock.MagicMock(
            get_ledger_for_identifier=async_mock.CoroutineMock(
                return_value=(None, None)
            )
        ),
    )
    with pytest.raises(ResolverError):
        await resolver.resolve(profile, TEST_DID0)