def METHOD_NAME():
    router = SecretsRouter("foo", Configuration({}, {}))
    def raise_error():
        raise AttributeError("dummy exception")
    router.set_secrets_factory_method("default", raise_error)
    with pytest.raises(VdkConfigurationError):
        router.set_all_secrets({"a": "b"})