예제 #1
0
 /**
  * The hasMeta() should return true for a defined meta, false otherwise.
  */
 public function testHasMeta()
 {
     $page = new SeoPage();
     $page->addMeta('property', 'test', array());
     $this->assertTrue($page->hasMeta('property', 'test'));
     $this->assertFalse($page->hasMeta('property', 'fake'));
 }