public function testSupports($type, $expected) { $installer = new Installer($this->io, $this->composer); $this->assertSame($expected, $installer->supports($type), sprintf('Failed to show support for %s', $type)); }