/**
  * testMagicSleepMethodReturnsExpectedSetOfPropertyNames
  *
  * @return void
  */
 public function testMagicSleepMethodReturnsExpectedSetOfPropertyNames()
 {
     $class = new ASTClass(__CLASS__);
     $class->setCache(new MemoryCacheDriver());
     $class->setNamespace(new ASTNamespace(__FUNCTION__));
     $this->assertEquals(array('constants', 'interfaceReferences', 'parentClassReference', 'cache', 'context', 'docComment', 'endLine', 'modifiers', 'name', 'nodes', 'namespaceName', 'startLine', 'userDefined', 'id'), $class->__sleep());
 }