public function testCanCheckIfHasNodeByName() { $this->assertTrue($this->tree->hasNodeNamed('foobar')); $this->assertFalse($this->tree->hasNodeNamed('foobaz')); }