def METHOD_NAME(restore=False):
    """Fake the async config."""
    if not restore:
        if not hasattr(METHOD_NAME, "original"):
            METHOD_NAME.original = cms.util.async_config
        cms.util.async_config = FakeAsyncConfig()
    else:
        cms.util.async_config = METHOD_NAME.original