You are here

public function TestWrapperTarget::testGetSummary in Feeds Paragraphs 8

@covers ::getSummary

File

tests/src/Unit/TestWrapperTarget.php, line 107

Class

TestWrapperTarget
@group Feeds Paragraphs @coversDefaultClass \Drupal\feeds_para_mapper\Feeds\Target\WrapperTarget

Namespace

Drupal\Tests\feeds_para_mapper\Unit

Code

public function testGetSummary() {
  $res = $this->wrapperTarget
    ->getSummary();
  $res = $res
    ->getUntranslatedString();
  $expected = "test summary<br>Maximum values: -1";
  $this
    ->assertSame($res, $expected, "The target summary exists");
}