public function testAppliesToLine() { $obj = new KeyValueNode(); $this->assertTrue($obj->appliesToLine('foo = bar ; foo')); $this->assertFalse($obj->appliesToLine(';foo = bar ; foo')); $this->assertFalse($obj->appliesToLine(' [section]')); $this->assertFalse($obj->appliesToLine('; comment')); $this->assertFalse($obj->appliesToLine('')); }