public function testPrePersist() { $association = new Association(); $association->prePersist(); $this->assertInstanceOf('DateTime', $association->getCreatedAt()); $this->assertInstanceOf('DateTime', $association->getUpdatedAt()); }