public function testSetContentWithComments() { $obj = new KeyValueNode(); $obj->setContent('foo=bar; comment'); $this->assertEquals('bar', $obj->getValue()); $this->assertEquals('foo', $obj->getKey()); $this->assertEquals('foo = bar ; comment', (string) $obj); }