public function testDoPreUpdate() { $item = new WindowsState(); $item->doPreUpdate(); $this->assertInstanceOf('DateTime', $item->getUpdatedAt()); }