protected function startFrontendProviderEmulation() { if ($this->chainMetadataProvider) { $this->chainMetadataProvider->startProviderEmulation(FrontendOwnershipMetadataProvider::ALIAS); } }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Provider with "alias" alias not registered */ public function testEmulationNotSupported() { $chain = new ChainMetadataProvider(); $chain->startProviderEmulation('alias'); }