BetterReflectionTest\SourceLocator\Type\SingleFileSourceLocatorTest::testConstructorThrowsExceptionIfFileIsNotAFile PHP 메소드

testConstructorThrowsExceptionIfFileIsNotAFile() 공개 메소드

    public function testConstructorThrowsExceptionIfFileIsNotAFile()
    {
        $this->expectException(InvalidFileLocation::class);
        $this->expectExceptionMessage('Is not a file');
        new SingleFileSourceLocator(__DIR__);
    }