Nelmio\Alice\Throwable\Exception\Parser\ParseExceptionFactoryTest::testTestCreateForParserNoFoundForFile PHP Method

testTestCreateForParserNoFoundForFile() public method

    public function testTestCreateForParserNoFoundForFile()
    {
        $exception = ParseExceptionFactory::createForParserNoFoundForFile('foo');
        $this->assertEquals('No suitable parser found for the file "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }