Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactoryTest::testTestCreateForNoIncludeStatementInData PHP Метод

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

    public function testTestCreateForNoIncludeStatementInData()
    {
        $exception = InvalidArgumentExceptionFactory::createForNoIncludeStatementInData('foo');
        $this->assertEquals('Could not find any include statement in the file "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }