You are here

public function TestDiscoveryTest::testGetPhpunitTestSuite in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::testGetPhpunitTestSuite()

@covers ::getPhpunitTestSuite @dataProvider providerTestGetPhpunitTestSuite

File

core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php, line 514

Class

TestDiscoveryTest
@coversDefaultClass \Drupal\Core\Test\TestDiscovery @group Test

Namespace

Drupal\Tests\Core\Test

Code

public function testGetPhpunitTestSuite($classname, $expected) {
  $this
    ->assertEquals($expected, TestDiscovery::getPhpunitTestSuite($classname));
}