예제 #1
0
 public function testPrePersist()
 {
     $this->assertNull($this->dashboard->getCreatedAt());
     $this->dashboard->prePersist();
     $this->assertInstanceOf('\\DateTime', $this->dashboard->getCreatedAt());
 }