Example #1
0
 public function testSearchable()
 {
     $expected = true;
     $content = new Content();
     $content->setSearchable($expected);
     $actual = $content->getSearchable();
     $this->assertSame($expected, $actual);
     $this->assertTrue($content->isSearchable());
 }
Example #2
0
 public function testSetNestedDefaults()
 {
     $content = new Content();
     $content->setNestedDefaults();
     $this->assertFalse($content->getIndexable());
     $this->assertFalse($content->getSearchable());
 }