You are here

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

File

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

Class

EntityReferenceBrowserTableWidgetTests

Namespace

Drupal\entity_browser_table\Kernel

Code

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