/** * Tests the setter/getter for the pre-attach lifecycle callbacks. * * @return void */ public function testSetGetPreAttachCallbacks() { $this->descriptor->setPreAttachCallbacks($preAttachCallbacks = array('attach')); $this->assertSame($preAttachCallbacks, $this->descriptor->getPreAttachCallbacks()); }