示例#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');
 }