def METHOD_NAME():
    router = SecretsRouter(
        "foo",
        Configuration(
            {},
            {
                "secrets_default_type": "foo",
                "secrets_write_preprocess_sequence": "bar",
            },
        ),
    )
    foo_mock_client = MagicMock(spec=ISecretsServiceClient)
    router.set_secrets_factory_method("foo", lambda: foo_mock_client)
    with pytest.raises(VdkConfigurationError):
        router.set_all_secrets({"a": "b"})