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

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

    public function testConstructorThrowsExceptionIfFileDoesNotExist()
    {
        $this->expectException(InvalidFileLocation::class);
        $this->expectExceptionMessage('File does not exist');
        new SingleFileSourceLocator('sdklfjdfslsdfhlkjsdglkjsdflgkj');
    }