Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactoryTest::testTestCreateForEmptyIncludedFileInData PHP Method

testTestCreateForEmptyIncludedFileInData() public method

    public function testTestCreateForEmptyIncludedFileInData()
    {
        $exception = InvalidArgumentExceptionFactory::createForEmptyIncludedFileInData('foo');
        $this->assertEquals('Expected elements of include statement to be file names. Got empty string instead in file "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }