Author: Kévin Dunglas (dunglas@gmail.com)
Inheritance: implements ApiPlatform\Core\DataProvider\CollectionDataProviderInterface
 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));
 }