def METHOD_NAME(self):
    cookies = {'bb_data': self.helper.real_bb_data}
    download_url = "http://tapochek.net/download.php?id=110717"
    with patch.object(self.plugin.tracker, 'get_cookies', result=cookies), patch.object(self.plugin.tracker, 'get_download_url', return_value=download_url):
        url = 'http://tapochek.net/viewtopic.php?t=174801'
        request = self.plugin._prepare_request(TapochekNetTopic(url=url))
        self.assertIsNotNone(request)
        self.assertEqual(request.headers['referer'], url)
        self.assertEqual(request.headers['host'], 'tapochek.net')
        self.assertEqual(request.url, 'http://tapochek.net/download.php?id=110717')