function PoStreamWriterTest::testGetUriException
@legacy-covers ::getURI
File
-
core/
tests/ Drupal/ Tests/ Component/ Gettext/ PoStreamWriterTest.php, line 60
Class
Namespace
Drupal\Tests\Component\GettextCode
public function testGetUriException() : void {
$this->expectException(\Exception::class);
$this->expectExceptionMessage('No URI set.');
$this->poWriter
->getURI();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.