function ZfExtensionManagerSfContainerTest::testSetStandaloneException
@covers ::setStandalone
File
-
core/
modules/ aggregator/ tests/ src/ Unit/ ZfExtensionManagerSfContainerTest.php, line 61
Class
- ZfExtensionManagerSfContainerTest
- @coversDefaultClass \Drupal\aggregator\ZfExtensionManagerSfContainer[[api-linebreak]] @group aggregator @group legacy
Namespace
Drupal\Tests\aggregator\UnitCode
public function testSetStandaloneException() {
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Drupal\\Tests\\aggregator\\Unit\\ZfExtensionManagerSfContainerTest must implement Laminas\\Feed\\Reader\\ExtensionManagerInterface or Laminas\\Feed\\Writer\\ExtensionManagerInterface');
$bridge = new ZfExtensionManagerSfContainer();
$bridge->setStandalone(static::class);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.