function it_creates_resource_from_spec_class_with_leading_backslash(Filesystem $fs)
{
$this->beConstructedWith($fs, 'PhpSpec', 'spec', $this->srcPath, $this->specPath);
$resource = $this->createResource('\\PhpSpec\\Console\\Application');
$resource->getSrcClassname()->shouldReturn('PhpSpec\\Console\\Application');
$resource->getSpecClassname()->shouldReturn('spec\\PhpSpec\\Console\\ApplicationSpec');
}