Sitemap\Model\SitemapTest::testGenerateWithEmptyBasePath PHP 메소드

testGenerateWithEmptyBasePath() 공개 메소드

Test
    public function testGenerateWithEmptyBasePath()
    {
        $request = Registry::get('Application')->getRequest();
        $basePath = $request->getBasePath();
        $request->setBasePath('');
        $this->assertInternalType('string', $this->object->generate($request));
        $request->setBasePath($basePath);
    }