public void testNegTestEffect() throws ParseException {
String string = "?!Foo(a, b):c";
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.NEG_TEST, effect.getType());
Assert.assertEquals("Effect relation is wrong", "Foo", effect.getRelation().getName());