c.setType("stilton");
wm.facts.add(c);
VerifyFact vf = new VerifyFact("Cheese", new ArrayList(), true);
vf.fieldValues.add(new VerifyField("price", "42", "=="));
vf.fieldValues.add(new VerifyField("type", "stilton", "=="));
runner.verify(vf);
assertTrue(vf.wasSuccessful());
vf = new VerifyFact("Person", new ArrayList(), true);
vf.fieldValues.add(new VerifyField("age", "42", "=="));
runner.verify(vf);
assertFalse(vf.wasSuccessful());
vf = new VerifyFact("Cheese", new ArrayList(), true);
vf.fieldValues.add(new VerifyField("price", "43", "=="));
vf.fieldValues.add(new VerifyField("type", "stilton", "=="));
runner.verify(vf);
assertFalse(vf.wasSuccessful());
assertEquals(Boolean.FALSE, ((VerifyField)vf.fieldValues.get(0)).successResult);
vf = new VerifyFact("Cell", new ArrayList(), true);
vf.fieldValues.add(new VerifyField("value", "43", "=="));
runner.verify(vf);
assertFalse(vf.wasSuccessful());
assertEquals(Boolean.FALSE, ((VerifyField)vf.fieldValues.get(0)).successResult);