assertEquals("Third regexp group is correctly extracted", "c", rec.get("var3").getValue());
}
@Test
public void testFilter() throws FailException {
FrameAddressResolver far = new FrameAddressResolver();
Sequence seq = new Sequence();
seq.setSourceInfo(new SourceInfo("file:///dummy.xml", null, 1, 1, 0));
far.put(seq);
Filter filter = new Filter();
filter.setSourceInfo(new SourceInfo("file:///dummy.xml", null, 2, 2, 0));
far.put(filter);
seq.setBlocks(Arrays.asList(new Block[]{filter}));
Record rec = new RecordImpl();
rec.add(new Field("a", "abc"));