public function ExtraFieldManagerBaseTest::testEntityBundleKey in Extra Field 8.2
@covers ::entityBundleKey
File
- tests/
src/ Unit/ ExtraFieldManagerBaseTest.php, line 301
Class
- ExtraFieldManagerBaseTest
- @coversDefaultClass \Drupal\extra_field\Plugin\ExtraFieldManagerBase
Namespace
Drupal\Tests\extra_field\UnitCode
public function testEntityBundleKey() {
$result = self::callMethod($this->baseManager, 'entityBundleKey', [
'foo',
'bar',
]);
$this
->assertEquals('foo.bar', $result);
}