Nelmio\Alice\Generator\Resolver\Value\Chainable\FixtureWildcardReferenceResolverTest::testThrowsAnExceptionIfNotMathcingIdFound PHP Method

testThrowsAnExceptionIfNotMathcingIdFound() public method

    public function testThrowsAnExceptionIfNotMathcingIdFound()
    {
        $value = FixtureMatchReferenceValue::createWildcardReference('dummy');
        $fixture = new DummyFixture('injected_fixture');
        $set = ResolvedFixtureSetFactory::create();
        $scope = [];
        $context = new GenerationContext();
        $resolver = new FixtureWildcardReferenceResolver(new FakeValueResolver());
        $resolver->resolve($value, $fixture, $set, $scope, $context);
    }