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