I am working on to implement business rules using ANTLR. I have AntlrWorks and I am able to generate lexer and parser classes(with tokens) with sample grammar. Please guide me on how to test this. I am trying to implement a rule which checks value and returns true.

Example - if TradeName=PRIN then rule is passes else failed.

Any help is appreciated.