}
public void testVariableExtraction() throws Exception
{
params = new LinkedList();
params.add(new CompoundVariable("<value field=\"(pinposition\\d+)\">(\\d+)</value>"));
params.add(new CompoundVariable("$2$"));
params.add(new CompoundVariable("2"));
variable.setParameters(params);
String match = variable.execute(result, null);
assertEquals("5", match);
}