コード例 #1
0
ファイル: EmailTest.php プロジェクト: xamin123/platform
 public function testSentAtGetterAndSetter()
 {
     $entity = new Email();
     $date = new \DateTime('now', new \DateTimeZone('UTC'));
     $entity->setSentAt($date);
     $this->assertEquals($date, $entity->getSentAt());
 }