/** * @test */ public function supports() { $library = new SharedPackageInstaller($this->io, $this->composer, $this->fs, $this->dataManager); $this->assertFalse($library->supports('foo')); $this->assertFalse($library->supports('library')); $this->assertTrue($library->supports(SharedPackageInstaller::PACKAGE_TYPE)); }