BooleanExp extends NestedExp { @Override protected String getCode() { return code; } BooleanExp(NestedExp exp); protected  BooleanExp(String code); static BooleanExp valueOf(boolean value); BooleanExp and(NestedExp exp); BooleanExp or(NestedExp exp); BooleanExp not(); static final BooleanExp TRUE; static final BooleanExp FALSE; }
@Test public void testTrue() { assertEquals("true", BooleanExp.TRUE.getCode()); }
@Test public void testFalse() { assertEquals("false", BooleanExp.FALSE.getCode()); }