public function EntityMatcherDeriverTest::testDeriver in Linkit 8.5
Tests the deriver.
File
- tests/
src/ Kernel/ EntityMatcherDeriverTest.php, line 42
Class
- EntityMatcherDeriverTest
- Tests the entity matcher deriver.
Namespace
Drupal\Tests\linkit\KernelCode
public function testDeriver() {
$definition = $this->manager
->getDefinition('entity:block_content', FALSE);
$this
->assertNull($definition);
$definition = $this->manager
->getDefinition('entity:node', FALSE);
$this
->assertNotNull($definition);
}