def METHOD_NAME():
    router = SecretsRouter("foo", Configuration({}, {"secrets_default_type": "foo"}))
    foo_mock_client = MagicMock(spec=ISecretsServiceClient)
    bar_mock_client = MagicMock(spec=ISecretsServiceClient)
    router.set_secrets_factory_method("foo", lambda: foo_mock_client)
    router.set_secrets_factory_method("bar", lambda: bar_mock_client)
    router.set_all_secrets({"a": "b"})
    foo_mock_client.write_secrets.assert_called_with("foo", None, {"a": "b"})
    bar_mock_client.assert_not_called()