public function ModuleHandlerTest::testDependencyParsing in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php \Drupal\Tests\Core\Extension\ModuleHandlerTest::testDependencyParsing()
@dataProvider dependencyProvider @covers ::parseDependency
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ModuleHandlerTest.php, line 482 - Contains \Drupal\Tests\Core\Extension\ModuleHandlerTest.
Class
- ModuleHandlerTest
- @coversDefaultClass \Drupal\Core\Extension\ModuleHandler @group Extension
Namespace
Drupal\Tests\Core\ExtensionCode
public function testDependencyParsing($dependency, $expected) {
$version = ModuleHandler::parseDependency($dependency);
$this
->assertEquals($expected, $version);
}