spec\PhpSpec\Locator\PSR0\PSR0LocatorSpec::it_throws_an_exception_on_PSR0_resource_with_slash_on_the_end PHP Method

it_throws_an_exception_on_PSR0_resource_with_slash_on_the_end() public method

public it_throws_an_exception_on_PSR0_resource_with_slash_on_the_end ( Filesystem $fs )
$fs PhpSpec\Util\Filesystem
    function it_throws_an_exception_on_PSR0_resource_with_slash_on_the_end(Filesystem $fs)
    {
        $this->beConstructedWith($fs, '', 'spec', $this->srcPath, $this->specPath);
        $exception = new \InvalidArgumentException('String "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('Namespace/');
    }
PSR0LocatorSpec