async def METHOD_NAME(
    mock_random, mock_pairing, storage
):
    pairing, zeroconf, service = await mock_pairing(pairing_guid=None)
    url = pairing_url(zeroconf, RANDOM_PAIRING_CODE)
    await utils.simple_get(url)
    await pairing.finish()
    assert service.credentials == RANDOM_PAIRING_GUID
    assert storage.settings[0].protocols.dmap.credentials == RANDOM_PAIRING_GUID