Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\TokenParserRegistryTest::testThrowsAnExceptionIfNoSuitableParserIsFound PHP Method

testThrowsAnExceptionIfNoSuitableParserIsFound() public method

    public function testThrowsAnExceptionIfNoSuitableParserIsFound()
    {
        $registry = new TokenParserRegistry([]);
        $registry->parse(new Token('foo', new TokenType(TokenType::STRING_TYPE)));
    }