public function testGetItemFromIriNoResourceException()
{
$propertyNameCollectionFactoryProphecy = $this->prophesize(PropertyNameCollectionFactoryInterface::class);
$propertyMetadataFactoryProphecy = $this->prophesize(PropertyMetadataFactoryInterface::class);
$itemDataProviderProphecy = $this->prophesize(ItemDataProviderInterface::class);
$routeNameResolverProphecy = $this->prophesize(RouteNameResolverInterface::class);
$routerProphecy = $this->prophesize(RouterInterface::class);
$routerProphecy->match('/users/3')->willReturn([])->shouldBeCalledTimes(1);
$converter = new IriConverter($propertyNameCollectionFactoryProphecy->reveal(), $propertyMetadataFactoryProphecy->reveal(), $itemDataProviderProphecy->reveal(), $routeNameResolverProphecy->reveal(), $routerProphecy->reveal());
$converter->getItemFromIri('/users/3');
}