BetterReflectionTest\SourceLocator\Type\StringSourceLocatorTest::testConstructorThrowsExceptionIfEmptyStringGiven PHP Method

testConstructorThrowsExceptionIfEmptyStringGiven() public method

    public function testConstructorThrowsExceptionIfEmptyStringGiven()
    {
        $this->expectException(EmptyPhpSourceCode::class);
        new StringSourceLocator('');
    }