constant(Modifiers::class . '::' . strtoupper($modifier)), ] ); $this->assertTrue($node->{'is' . $modifier}()); } public function testNoModifiers(): void { $node = new PropertyHook('get', null); $this->assertFalse($node->isFinal()); } public static function provideModifiers() { return [ ['final'], ]; } }