public function testPreUpdate() { $order = new Order(); $order->preUpdate(); $this->assertInstanceOf('\\DateTime', $order->getUpdatedAt()); }