public function testGetCollectionExeptions() { $firstDataProvider = $this->prophesize(CollectionDataProviderInterface::class); $firstDataProvider->getCollection('notfound', 1)->willThrow(ResourceClassNotSupportedException::class); $chainItemDataProvider = new ChainCollectionDataProvider([$firstDataProvider->reveal()]); $this->assertEquals('', $chainItemDataProvider->getCollection('notfound', 1)); }