Sitemap\Model\SitemapTest::testGenerateWithEmptyBasePath PHP Метод

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

Test
public testGenerateWithEmptyBasePath ( ) : void
Результат void
    public function testGenerateWithEmptyBasePath()
    {
        $request = Registry::get('Application')->getRequest();
        $basePath = $request->getBasePath();
        $request->setBasePath('');
        $this->assertInternalType('string', $this->object->generate($request));
        $request->setBasePath($basePath);
    }