Beispiel #1
0
 public function testPrePersist()
 {
     $order = new Order();
     $order->prePersist();
     $this->assertInstanceOf('\\DateTime', $order->getCreatedAt());
     $this->assertInstanceOf('\\DateTime', $order->getUpdatedAt());
 }