assertOutPut("(A OR B) AND (((E AND F) OR G) OR (H AND I))", "(A|B) & ( (E&F|G) | (H&I) )");
}
@Test
public void testDeepTree() {
ExpressionNode n = ExpressionParser
.parseExpression("( (sampleA|sampleB) & (C|D|!B) & !(A|D) ) | ( (A&B&C)|(C&D)|((A|B)&D) )");
Assert.assertEquals(2, n.getSubNodes().size());
Assert.assertEquals(ExpressionOperator.OR, n.getOperator());
}