public function testSetContent() { $obj = new SectionNode(); $obj->setContent(' [Section]'); $this->assertEquals('Section', $obj->getValue()); $this->assertEquals("\n[Section]", (string) $obj); $this->assertNull($obj->getKey()); }