renderSectionFooter() public method

renders the footer for a section
public renderSectionFooter ( string $sectionName = '' ) : WriterCollection
$sectionName string
return WriterCollection
 /**
  * tests rendering the footer of one section
  *
  * @group writer
  * @group sourcetest
  */
 public function testRenderSectionFooter()
 {
     $mockWriter = $this->getMock('\\Browscap\\Writer\\CsvWriter', array(), array(), '', false);
     self::assertSame($this->object, $this->object->addWriter($mockWriter));
     self::assertSame($this->object, $this->object->renderSectionFooter());
 }
Esempio n. 2
0
 /**
  * tests rendering the footer of one section
  *
  * @group writer
  * @group sourcetest
  */
 public function testRenderSectionFooter()
 {
     $mockWriter = $this->createMock(\Browscap\Writer\CsvWriter::class);
     self::assertSame($this->object, $this->object->addWriter($mockWriter));
     self::assertSame($this->object, $this->object->renderSectionFooter());
 }