@Test
public void testLexNotExpression() {
PELexer pelexer = new PELexer();
pelexer.setInput("(NOT P)");
Assert.assertEquals(new Token(LogicTokenTypes.LPAREN, "("),
pelexer.nextToken());
Assert.assertEquals(new Token(LogicTokenTypes.CONNECTOR, "NOT"),
pelexer.nextToken());
Assert.assertEquals(new Token(LogicTokenTypes.SYMBOL, "P"),
pelexer.nextToken());
Assert.assertEquals(new Token(LogicTokenTypes.RPAREN, ")"),
pelexer.nextToken());
Assert.assertEquals(new Token(LogicTokenTypes.EOI, "EOI"),
pelexer.nextToken());
}