public function testSetGetName() { $node = new Node('localhost', 8819); $node->setName('the name of the node'); $this->assertEquals('the name of the node', $node->getName()); }