/** * @dataProvider getIsPhpExtensionTests */ public function testIsPhpExtension($name, $outcome) { $node = new PackageNode($name); $this->assertSame($outcome, $node->isPhpExtension()); }
/** * @param string $name * @return bool */ public function isRootPackageName($name) { return strtolower($this->rootPackage->getName()) === strtolower($name); }