@Test
public void testParseSimpleConnectedSentence() {
Sentence ps = parser.parse("(King(John) AND NOT King(Richard))");
Assert.assertEquals(ps, new ConnectedSentence("AND",
getKingPredicate(new Constant("John")), new NotSentence(
getKingPredicate(new Constant("Richard")))));
ps = parser.parse("(King(John) AND King(Saladin))");
Assert.assertEquals(ps, new ConnectedSentence("AND",
getKingPredicate(new Constant("John")),
getKingPredicate(new Constant("Saladin"))));
}