Наследование: implements Nelmio\Alice\Generator\ValueResolverInterface, implements Nelmio\Alice\Generator\ObjectGeneratorAwareInterface, use trait Nelmio\Alice\IsAServiceTrait
Пример #1
0
 /**
  * @expectedException \Nelmio\Alice\Throwable\Exception\Generator\Resolver\ResolverNotFoundException
  * @expectedExceptionMessage No resolver found to resolve value "foo".
  */
 public function testThrowExceptionIfNoSuitableParserIsFound()
 {
     $fixture = new DummyFixture('dummy');
     $set = ResolvedFixtureSetFactory::create();
     $registry = new ValueResolverRegistry([]);
     $registry->resolve(new DummyValue('foo'), $fixture, $set, [], new GenerationContext());
 }