def METHOD_NAME():
    config = {"routes": [{"name": "name1"}, {"name": "name2"}, {"name": "name1"}]}
    with pytest.raises(MlflowException, match="Duplicate names found in route configurations"):
        check_configuration_route_name_collisions(config)