public void testRemoveManyEffect() throws ParseException {
String string = "!Foo(*, b)";
RelationsEnvironment env = new RelationsEnvironment();
env.addRelation(new Relation("Foo", new String[] {"Bar", "Baz"}));
FPLParser parser = new FPLParser(string, env, new StubIType());
RelEffect effect = parser.relEffect();
Assert.assertEquals("Effect type is wrong", RelEffect.EffectType.REMOVE, effect.getType());
Assert.assertEquals("Effect relation is wrong", "Foo", effect.getRelation().getName());
FreeVars vars = effect.getFreeVariables();