spec\PhpSpec\Locator\PSR0\PSR0ResourceSpec::it_does_not_split_underscores_when_locator_has_psr4_prefix PHP Метод

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

    function it_does_not_split_underscores_when_locator_has_psr4_prefix($locator)
    {
        $this->beConstructedWith(array('usr', 'lib', 'config_test'), $locator);
        $locator->getFullSrcPath()->willReturn($this->convert_to_path('/local/'));
        $locator->getFullSpecPath()->willReturn($this->convert_to_path('/local/spec/'));
        $locator->isPSR4()->willReturn(true);
        $this->getSrcFilename()->shouldReturn($this->convert_to_path('/local/usr/lib/config_test.php'));
        $this->getSpecFilename()->shouldReturn($this->convert_to_path('/local/spec/usr/lib/config_testSpec.php'));
    }