assertEquals('foo', $node->getAttribute('value')); } public static function provideTests(): iterable { $tests = []; $node = new ConstantExpression('foo', 1); $tests[] = [$node, '"foo"']; return $tests; } }