public function testIdNotExist()
{
$dataProviderPass = new FilterPass();
$this->assertInstanceOf(CompilerPassInterface::class, $dataProviderPass);
$definitionProphecy = $this->prophesize(Definition::class);
$definitionProphecy->addArgument(Argument::that(function (array $arg) {
return !isset($arg['foo']) && isset($arg['bar']) && $arg['bar'] instanceof Reference;
}))->shouldBeCalled();
$definition = $definitionProphecy->reveal();
$containerBuilderProphecy = $this->prophesize(ContainerBuilder::class);
$containerBuilderProphecy->findTaggedServiceIds('api_platform.filter')->willReturn(['foo' => [], 'bar' => [['hi' => 'hello']]])->shouldBeCalled();
$containerBuilderProphecy->getDefinition('api_platform.filters')->willReturn($definition)->shouldBeCalled();
$containerBuilder = $containerBuilderProphecy->reveal();
$dataProviderPass->process($containerBuilder);
}