You are here

public function InstallerTest::testSupports in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php \Composer\Installers\Test\InstallerTest::testSupports()

testSupports

@dataProvider dataForTestSupport

Return value

void

File

vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php, line 75

Class

InstallerTest

Namespace

Composer\Installers\Test

Code

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));
}