/**
  * @param $i
  */
 protected function addToSiteMap($i)
 {
     $item = new UrlItem('http://www.example.com/' . $i);
     $item->setPriority('1.0');
     $item->setChangeFreq('daily');
     $item->setLastMod('2014-05-10T17:33:30+08:00');
     $this->siteMap->add($item);
 }
 /**
  * @test
  */
 public function itShouldOutputChangeFreqAndThrowException()
 {
     $this->setExpectedException($this->exception);
     $this->item->setChangeFreq('aaaaa');
 }