function PluralTranslationTest::testMissingData
@dataProvider providerTestMissingData
File
-
core/
tests/ Drupal/ Tests/ Core/ Annotation/ PluralTranslationTest.php, line 56
Class
- PluralTranslationTest
- @coversDefaultClass \Drupal\Core\Annotation\PluralTranslation[[api-linebreak]] @group Annotation
Namespace
Drupal\Tests\Core\AnnotationCode
public function testMissingData($data) : void {
$this->expectException(\InvalidArgumentException::class);
new PluralTranslation($data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.