You are here

public function EntityReferenceBrowserTableWidgetTests::testBuildEditButton in Entity Browser - Table Layout 8

File

tests/src/Kernel/EntityReferenceBrowserTableWidgetTests.php, line 106

Class

EntityReferenceBrowserTableWidgetTests

Namespace

Drupal\entity_browser_table\Kernel

Code

public function testBuildEditButton() {
  $testBuildEditButton = $this->widget
    ->buildEditButton($this->entities[0], $this->detailsId, $this->rowId, $this->fieldParents);
  $this
    ->assertIsArray($testBuildEditButton);
  $this
    ->assertCount(6, $testBuildEditButton);
}