public function createDummyDenormalizer() : FixtureDenormalizerInterface { $decoratedDenormalizerProphecy = $this->prophesize(FixtureDenormalizerInterface::class); $decoratedDenormalizerProphecy->denormalize(Argument::cetera())->will(function ($args) { return $args[0]->with(FixtureFactory::create($args[2], '')); }); return $decoratedDenormalizerProphecy->reveal(); }