Nelmio\Alice\Parser\ParserRegistryTest::testAcceptChainableParsers PHP Метод

testAcceptChainableParsers() публичный Метод

    public function testAcceptChainableParsers()
    {
        $parserProphecy = $this->prophesize(ChainableParserInterface::class);
        $parserProphecy->canParse(Argument::any())->shouldNotBeCalled();
        /* @var ChainableParserInterface $parser */
        $parser = $parserProphecy->reveal();
        new ParserRegistry([$parser]);
    }