Esempio n. 1
0
 /**
  * @depends testAppend
  */
 public function testRemoveChild()
 {
     $n = new Node();
     $child = new Node();
     $n->append([$child]);
     $n->removeChild($child);
     $this->assertEquals(0, $n->count());
 }
Esempio n. 2
0
 public function testCount()
 {
     $this->assertEquals(3, self::$n->count());
 }