@Test
public void test_param_string_precedence_2() {

    // Test simple injection precedence
    // Setting parameter multiple times just overrides the existing setting
    String cmdText = "SELECT * WHERE { ? ?p ?o }";
    ParameterizedSparqlString query = new ParameterizedSparqlString(cmdText);
    query.setIri(0, "http://example.org");
    query.setIri(0, "http://alternate.org");
    test(query, new String[] { "<http://alternate.org>" }, new String[] { "? ", "<http://example.org>" });
    testAsQuery(query);
}