You are here

public function EntityOperationsUnitTest::testDefineOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php \Drupal\Tests\views\Unit\Plugin\views\field\EntityOperationsUnitTest::testDefineOptions()

@covers ::defineOptions

File

core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php, line 83
Contains \Drupal\Tests\views\Unit\Plugin\views\field\EntityOperationsUnitTest.

Class

EntityOperationsUnitTest
@coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations @group Views

Namespace

Drupal\Tests\views\Unit\Plugin\views\field

Code

public function testDefineOptions() {
  $options = $this->plugin
    ->defineOptions();
  $this
    ->assertInternalType('array', $options);
  $this
    ->assertArrayHasKey('destination', $options);
}