public function PSR4Test::test in Drupal 7 to 8/9 Module Upgrader 8
Same name in this branch
- 8 tests/src/Unit/Plugin/DMU/Analyzer/PSR4Test.php \Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Analyzer\PSR4Test::test()
- 8 tests/src/Unit/Plugin/DMU/Fixer/PSR4Test.php \Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Fixer\PSR4Test::test()
File
- tests/
src/ Unit/ Plugin/ DMU/ Analyzer/ PSR4Test.php, line 34
Class
- PSR4Test
- @group DMU.Analyzer @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Analyzer\PSR4
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\AnalyzerCode
public function test() {
$issues = $this->analyzer
->analyze($this->target);
$this
->assertInternalType('array', $issues);
$this
->assertNotEmpty($issues);
$this
->assertIssueDefaults($issues[0]);
}