public function __construct(ReflectionContext $ref, GraphContext $grf, Graph $g) { $visitor = [new \Trismegiste\Mondrian\Visitor\State\PackageLevel(), new FileLevel(), new ClassLevel(), new InterfaceLevel(), new TraitLevel()]; parent::__construct($visitor, $ref, $grf, $g); }
/** * @expectedException \InvalidArgumentException */ public function testNoNodeFound() { $this->buildVisitorUnique(); $this->sut->getNodeFor('fddbfgb'); }