Nelmio\Alice\Throwable\Exception\FixtureBuilder\Denormalizer\FlagParser\FlagParserExceptionFactoryTest::testTestCreateNewException PHP Метод

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

    public function testTestCreateNewException()
    {
        $exception = FlagParserExceptionFactory::createForNoParserFoundForElement('foo');
        $this->assertEquals('No suitable flag parser found to handle the element "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }