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