Nelmio\Alice\Throwable\Exception\FixtureBuilder\ExpressionLanguage\ExpressionLanguageExceptionFactoryTest::testTestCreateForCouldNotLexValue PHP Метод

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

    public function testTestCreateForCouldNotLexValue()
    {
        $exception = ExpressionLanguageExceptionFactory::createForCouldNotLexValue('foo');
        $this->assertEquals('Could not lex the value "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }