private function assertUnaryOperation(callable $function, $operator, $operandName) { $this->assertParsedAs($function, [O\Expression::unaryOperation($operator, O\Expression::variable(O\Expression::value($operandName)))]); }