spec\PhpSpec\Locator\PSR0\PSR0LocatorSpec::it_throws_an_exception_on_PSR4_prefix_not_matching_namespace PHP Method

it_throws_an_exception_on_PSR4_prefix_not_matching_namespace() public method

public it_throws_an_exception_on_PSR4_prefix_not_matching_namespace ( Filesystem $fs )
$fs PhpSpec\Util\Filesystem
    function it_throws_an_exception_on_PSR4_prefix_not_matching_namespace(Filesystem $fs)
    {
        $exception = new \InvalidArgumentException('PSR4 prefix doesn\'t match given class namespace.' . PHP_EOL);
        $this->shouldThrow($exception)->during('__construct', array($fs, 'p\\pf\\N\\S', 'spec', $this->srcPath, $this->specPath, 'wrong\\prefix'));
    }
PSR0LocatorSpec