@Test
public void test_extract_multiple_target_vars() {

    // Identifies the vars in the VALUES clause according to the substituting valueName.
    String cmd = "SELECT * WHERE { VALUES ?p {?props} VALUES ?o {?objs} ?s ?p ?o }";
    String valueName = "objs";
    String[] res = ParameterizedSparqlString.extractTargetVars(cmd, valueName);
    String[] exp = new String[]{"o"};
    //System.out.println("Exp: " + String.join(",", exp));
    //System.out.println("Res: " + String.join(",", res));
    Assert.assertArrayEquals(exp, res);
}