lits.add(new Literal(p2));
lits.add(new Literal(p3));
Clause clExpression = new Clause(lits);
TermEquality assertion = (TermEquality) parser.parse("G(x,y) = x");
Clause altClExpression = demodulation.apply(assertion, clExpression);
Assert.assertEquals("[P(x,G(A,C)), Q(z,D), W(z,x,u,w,y)]",
altClExpression.toString());