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/');
}