public function testUpdateStream()
{
$file = $this->logfiles['update'];
$this->assertFileNotExists($file);
TelegramLog::initUpdateLog($file);
TelegramLog::update('my update');
$this->assertFileExists($file);
$this->assertContains('my update', file_get_contents($file));
}