spec\PhpSpec\Locator\PSR0\PSR0LocatorSpec::it_throws_an_exception_on_PSR0_resource_with_double_backslash PHP Метод

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

public it_throws_an_exception_on_PSR0_resource_with_double_backslash ( Filesystem $fs )
$fs PhpSpec\Util\Filesystem
    function it_throws_an_exception_on_PSR0_resource_with_double_backslash(Filesystem $fs)
    {
        $this->beConstructedWith($fs, '', 'spec', $this->srcPath, $this->specPath);
        $exception = new \InvalidArgumentException('String "NonPSR0\\\\Namespace" is not a valid class name.' . PHP_EOL . 'Please see reference document: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md');
        $this->shouldThrow($exception)->duringCreateResource('NonPSR0\\\\Namespace');
    }
PSR0LocatorSpec