public function testBooleanValue() { $expression = new ValueExpression(); $expression->setValue(true); $this->assertEquals('true', QueryAssembler::stringify($expression)); $expression->setValue(false); $this->assertEquals('false', QueryAssembler::stringify($expression)); }
public function testGettersAndSetters() { $expression = new ValueExpression(); $expression->setValue(1); $this->assertEquals(1, $expression->getValue()); }