public function testInstantiation() { $pass = new AddPackagesPass($this->getRootDir() . '/vendor/composer/installed.json'); $this->assertInstanceOf('Contao\\CoreBundle\\DependencyInjection\\Compiler\\AddPackagesPass', $pass); }