/** * tests rendering the footer after all divisions * * @group writer * @group sourcetest */ public function testRenderAllDivisionsFooter() { $mockWriter = $this->getMock('\\Browscap\\Writer\\CsvWriter', array(), array(), '', false); self::assertSame($this->object, $this->object->addWriter($mockWriter)); self::assertSame($this->object, $this->object->renderAllDivisionsFooter()); }
/** * tests rendering the footer after all divisions * * @group writer * @group sourcetest */ public function testRenderAllDivisionsFooter() { $mockWriter = $this->createMock(\Browscap\Writer\CsvWriter::class); self::assertSame($this->object, $this->object->addWriter($mockWriter)); self::assertSame($this->object, $this->object->renderAllDivisionsFooter()); }