/** * Tests the setter/getter for the post-detach lifecycle callbacks. * * @return void */ public function testSetGetPostConstructCallbacks() { $this->descriptor->setPostDetachCallbacks($postDetachCallbacks = array('detach')); $this->assertSame($postDetachCallbacks, $this->descriptor->getPostDetachCallbacks()); }