def METHOD_NAME():
    router = PropertiesRouter("foo", Configuration({}, {"team": "test-team"}))
    mock_client = MagicMock(spec=IPropertiesServiceClient)
    router.set_properties_factory_method("foo", lambda: mock_client)
    router.set_all_properties({"a": "b"})
    mock_client.write_properties.assert_called_with("foo", "test-team", {"a": "b"})