// simple check: let path in a string replace
String substString = var + "/additional/path";
log.println("Substitute '"+substString+"'");
String newValue = oObj.substituteVariables(substString, true);
log.println("Return value '"+newValue+"'");
// 2do: better check for correct substitution
assure("Did not substitute '"
+ substString+"' to '" + newValue
+ "' correctly:", newValue.startsWith(substVal));