/**
* tests rendering the body of one section
*
* @group writer
* @group sourcetest
*/
public function testRenderSectionBodyIfSilent()
{
$this->object->setSilent(true);
$section = ['Test' => 1, 'isTest' => true, 'abc' => 'bcd'];
$collection = $this->createMock(\Browscap\Data\DataCollection::class);
self::assertSame($this->object, $this->object->renderSectionBody($section, $collection));
self::assertSame('', file_get_contents($this->file));
}