/**
  * The magic sleep method will be called by PHP's runtime environment right
  * before an instance of this class gets serialized. It should return an
  * array with those property names that should be serialized for this class.
  *
  * @return array
  */
 public function __sleep()
 {
     return array_merge(array('newName', 'newModifier'), parent::__sleep());
 }
 /**
  * testYieldValueAssignmentSimpleParent
  *
  * @param \PDepend\Source\AST\ASTStatement $yield
  * @return void
  * @depends testYieldValueAssignmentSimple
  */
 public function testYieldValueAssignmentSimpleParent(ASTStatement $yield)
 {
     $this->assertInstanceOf('PDepend\\Source\\AST\\ASTAssignmentExpression', $yield->getParent()->getParent());
 }