/** * testMagicSleepMethodReturnsExpectedSetOfPropertyNames * * @return void * @group pdepend * @group pdepend::code * @group unittest */ public function testMagicSleepMethodReturnsExpectedSetOfPropertyNames() { $interface = new PHP_Depend_Code_Interface(__CLASS__); $interface->setPackage(new PHP_Depend_Code_Package(__FUNCTION__)); self::assertEquals(array('cache', 'constants', 'context', 'docComment', 'endLine', 'interfaceReferences', 'methods', 'modifiers', 'name', 'nodes', 'packageName', 'parentClassReference', 'startLine', 'userDefined', 'uuid'), $interface->__sleep()); }