コード例 #1
0
ファイル: DashboardTest.php プロジェクト: Maksold/platform
 public function testPrePersist()
 {
     $this->assertNull($this->dashboard->getCreatedAt());
     $this->dashboard->prePersist();
     $this->assertInstanceOf('\\DateTime', $this->dashboard->getCreatedAt());
 }