public function PluginTypeTest::testGetLabel in Plugin 8.2
@covers ::getLabel
File
- tests/
src/ Unit/ PluginType/ PluginTypeTest.php, line 101
Class
- PluginTypeTest
- @coversDefaultClass \Drupal\plugin\PluginType\PluginType
Namespace
Drupal\Tests\plugin\Unit\PluginTypeCode
public function testGetLabel() {
$this
->assertSame($this->pluginTypeDefinition['label'], $this->sut
->getLabel()
->getUntranslatedString());
}