예제 #1
0
파일: Rules.php 프로젝트: bee4/robots.txt
 public function testSitemaps()
 {
     $this->given($sut = new SUT())->when($sut->addSitemap('http://site.com/sitemap.xml'))->then->array($sut->getSitemaps())->hasSize(1)->contains('http://site.com/sitemap.xml');
 }