BetterReflectionTest\SourceLocator\Type\SingleFileSourceLocatorTest::testConstructorThrowsExceptionIfFileIsNotAFile PHP Метод

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

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