public function testIfExpression()
 {
     $this->assertEquals('IF(test = 4,123,321)', QueryAssembler::stringify(IfExpression::create(EqualPredicate::create('test', 4), 123, 321)));
 }
 public function assembleIfExpression(IfExpression $expr)
 {
     $sections = [$this->assembleSegment($expr->getExpression()), $this->assembleSegment($expr->getTrueValue()), $this->assembleSegment($expr->getFalseValue())];
     return 'IF(' . implode(',', $sections) . ')';
 }