public function hasValue() { return $this->value !== null || $this->type === self::NULL; }
public function testHasValueWithANullType() { $compiledExpression = new CompiledExpression(CompiledExpression::NULL); parent::assertTrue($compiledExpression->hasValue()); }