InferenceProcedure infp) {
FOLKnowledgeBase akb = FOLKnowledgeBaseFactory
.createABCDEqualityAndSubstitutionKnowledgeBase(infp, true);
List<Term> terms = new ArrayList<Term>();
terms.add(new Constant("A"));
Function fa = new Function("F", terms);
terms = new ArrayList<Term>();
terms.add(fa);
TermEquality query = new TermEquality(new Function("F", terms),
new Constant("A"));
InferenceResult answer = akb.ask(query);
Assert.assertTrue(null != answer);
Assert.assertFalse(answer.isPossiblyFalse());