You are here

public function TestsTest::test in Drupal 7 to 8/9 Module Upgrader 8

File

tests/src/Unit/Plugin/DMU/Analyzer/TestsTest.php, line 35

Class

TestsTest
@group DMU.Analyzer @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Analyzer\Tests

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Analyzer

Code

public function test() {
  $issues = $this->analyzer
    ->analyze($this->target);
  $this
    ->assertInternalType('array', $issues);
  $this
    ->assertNotEmpty($issues);
  $this
    ->assertIssueDefaults($issues[0]);
}