Пример #1
0
 /**
  * Tests the visitor accept method.
  *
  * @return void
  */
 public function testVisitorAccept()
 {
     $method = new PHP_Depend_Code_Method('method', 0);
     $visitor = new PHP_Depend_Visitor_TestNodeVisitor();
     $method->accept($visitor);
     self::assertSame($method, $visitor->method);
 }