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

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

public it_creates_resource_from_spec_class_with_leading_backslash ( Filesystem $fs )
$fs PhpSpec\Util\Filesystem
    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');
    }
PSR0LocatorSpec