Sitemap\Model\SitemapTest::testGenerateWithEmptyBasePath PHP Method

testGenerateWithEmptyBasePath() public method

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