public function EntityTest::testCalculateDependenciesWithPlaceholder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php \Drupal\Tests\views\Unit\Plugin\area\EntityTest::testCalculateDependenciesWithPlaceholder()
@covers ::calculateDependencies
@dataProvider providerTestTokens
File
- core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ EntityTest.php, line 253 - Contains \Drupal\Tests\views\Unit\Plugin\area\EntityTest.
Class
- EntityTest
- @coversDefaultClass \Drupal\views\Plugin\views\area\Entity @group Entity
Namespace
Drupal\Tests\views\Unit\Plugin\areaCode
public function testCalculateDependenciesWithPlaceholder($token, $id) {
$this
->setupEntityManager();
$options = [
'target' => $token,
];
$this->entityHandler
->init($this->executable, $this->display, $options);
$this
->assertEquals([], $this->entityHandler
->calculateDependencies());
}