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

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

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