async def METHOD_NAME(resolver: UniversalResolver):
    settings = Settings(
        {
            "resolver.universal": "DEFAULT",
        }
    )
    context = async_mock.MagicMock()
    context.settings = settings
    with async_mock.patch.object(
        UniversalResolver,
        "_get_supported_did_regex",
        async_mock.CoroutineMock(return_value="pattern"),
    ):
        await resolver.setup(context)
    assert resolver._endpoint == test_module.DEFAULT_ENDPOINT
    assert resolver._supported_did_regex == "pattern"