Наследование: implements Nelmio\Alice\Generator\Resolver\Value\ChainableValueResolverInterface, use trait Nelmio\Alice\IsAServiceTrait
Пример #1
0
 /**
  * @expectedException \Nelmio\Alice\Throwable\Exception\Generator\Resolver\UnresolvableValueException
  * @expectedExceptionMessage Could not find the parameter "foo".
  */
 public function testThrowsAnExceptionIfTheVariableCannotBeFoundInTheScope()
 {
     $value = new ParameterValue('foo');
     $set = ResolvedFixtureSetFactory::create();
     $resolver = new ParameterValueResolver();
     $resolver->resolve($value, new FakeFixture(), $set, [], new GenerationContext());
 }