/**
* @group pathspec
*/
public function testApiPathsPsr4()
{
$pathSpec = new ModulePathSpec($this->getModuleUtils(), 'psr-4');
$basePath = '/app/ModuleName/src/V2/';
$this->assertEquals($basePath . 'Rest/', $pathSpec->getRestPath('ModuleName', 2));
$this->assertEquals($basePath . 'Rest/ServiceName', $pathSpec->getRestPath('ModuleName', 2, 'ServiceName'));
$this->assertEquals($basePath . 'Rpc/', $pathSpec->getRpcPath('ModuleName', 2));
$this->assertEquals($basePath . 'Rpc/ServiceName', $pathSpec->getRpcPath('ModuleName', 2, 'ServiceName'));
}