@Test
public void testSwitchStrictCase1() throws FailException, FilterException {
FrameAddressResolver far = new FrameAddressResolver();
Sequence tested = createSwitchStrictSequence(far);
Record rec = new RecordImpl();
rec.add(new Field("a", "aaa"));
Kernel kernel = new Kernel(tested, far, null);
kernel.process(rec);
assertTrue(rec.has("b"));
assertEquals("case1", rec.get("b").getValue());
// Only case 1 was run
assertTrue(rec.has("c1"));
assertEquals("case1", rec.get("c1").getValue());
assertFalse(rec.has("c2"));
assertFalse(rec.has("c3"));
// After set was run
assertTrue(rec.has("after"));
}