1   package test.net.sourceforge.pmd.ast;
2   
3   import junit.framework.TestCase;
4   import net.sourceforge.pmd.ast.ASTBooleanLiteral;
5   
6   public class ASTBooleanLiteralTest extends TestCase {
7       public void testTrue() {
8           ASTBooleanLiteral b = new ASTBooleanLiteral(0);
9           assertFalse(b.isTrue());
10          b.setTrue();
11          assertTrue(b.isTrue());
12      }
13  }