示例#1
0
 /**
  * @covers Sitemap::initialize
  */
 public function testInitialize()
 {
     $result = $this->object->initialize();
     // Check returned instanse
     $this->assertInstanceOf(Sitemap, $result);
     // Check setted values
     $this->assertNotEmpty($result->main_page_changefreq);
     $this->assertNotEmpty($result->main_page_priority);
 }