public function testIfQuantifierIsAValueThenItWillBeResolvedAsWell()
{
$quantifier = new FakeValue();
$value = new DynamicArrayValue($quantifier, '');
$fixture = new FakeFixture();
$set = ResolvedFixtureSetFactory::create();
$scope = ['injected' => true];
$context = new GenerationContext();
$context->markIsResolvingFixture('bar');
$decoratedResolverProphecy = $this->prophesize(ValueResolverInterface::class);
$decoratedResolverProphecy->resolve($quantifier, $fixture, $set, $scope, $context)->willReturn(new ResolvedValueWithFixtureSet(10, ResolvedFixtureSetFactory::create(new ParameterBag(['foo' => 'bar']))));
/** @var ValueResolverInterface $decoratedResolver */
$decoratedResolver = $decoratedResolverProphecy->reveal();
$resolver = new DynamicArrayValueResolver($decoratedResolver);
$resolver->resolve($value, $fixture, $set, $scope, $context);
}