Ejemplo n.º 1
0
 /**
  * @covers BackBee\NestedNode\Page::setDate
  */
 public function testSetDate()
 {
     $this->assertEquals($this->page, $this->page->setDate($this->current_time));
     $this->assertEquals($this->current_time, $this->page->getDate());
     $this->assertEquals($this->page, $this->page->setDate(null));
     $this->assertNull($this->page->getDate());
 }