fileEnd() public method

Generates a end sequence for the output file
public fileEnd ( ) : Browscap\Writer\WriterInterface
return Browscap\Writer\WriterInterface
Beispiel #1
0
 /**
  * tests rendering the end of the file
  *
  * @group writer
  * @group sourcetest
  */
 public function testFileEnd()
 {
     self::assertSame($this->object, $this->object->fileEnd());
     self::assertSame('', file_get_contents($this->file));
 }