renders the header for a section
public renderSectionHeader ( string $sectionName ) : Browscap\Writer\WriterInterface | ||
$sectionName | string | |
return | Browscap\Writer\WriterInterface |
/** * tests rendering the header of one section * * @group writer * @group sourcetest */ public function testRenderSectionHeader() { self::assertSame($this->object, $this->object->renderSectionHeader('test')); self::assertSame('', file_get_contents($this->file)); }