public function testThrowResourceClassNotSupportedException()
{
$managerRegistryProphecy = $this->prophesize(ManagerRegistry::class);
$managerRegistryProphecy->getManagerForClass(Dummy::class)->willReturn(null)->shouldBeCalled();
$extensionProphecy = $this->prophesize(QueryResultCollectionExtensionInterface::class);
$dataProvider = new CollectionDataProvider($managerRegistryProphecy->reveal(), [$extensionProphecy->reveal()]);
$dataProvider->getCollection(Dummy::class, 'foo');
}