You are here

public function XmlSitemapWriterTest::setUp in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 tests/src/Kernel/XmlSitemapWriterTest.php \Drupal\Tests\xmlsitemap\Kernel\XmlSitemapWriterTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/XmlSitemapWriterTest.php, line 22

Class

XmlSitemapWriterTest
Tests \Drupal\xmlsitemap\XmlSitemapWriter.

Namespace

Drupal\Tests\xmlsitemap\Kernel

Code

public function setUp() {
  parent::setUp();
  $this->sitemap = XmlSitemap::create();
}