/**
  *@dataProvider pluginSideProvider
  */
 public function testBadContextForPluginRequests($side)
 {
     $bad = array(null, '', 0, TestData::genASCIIStr(24));
     foreach ($bad as $sessionID) {
         $req = TestData::fillRequest('AvailablePluginsRequest', array('pluginSide' => ucfirst($side), 'sessionID' => $sessionID));
         $this->assertEquals(createFailRes(239), RequestSender::send($req));
         $req = TestData::fillRequest('AdjustPluginRequest', array('sessionID' => $sessionID, 'side' => ucfirst($side), 'description' => TestData::genUnicodeStr(42), 'pluginAlias' => TestData::genFileName(12), 'pluginData' => TestData::genUnicodeStr(42)));
         $this->assertEquals(createFailRes(239), RequestSender::send($req));
         $req = TestData::fillRequest('RemovePluginRequest', array('pluginAlias' => TestData::genFileName(12), 'sessionID' => $sessionID, 'side' => ucfirst($side)));
         $this->assertEquals(createFailRes(239), RequestSender::send($req));
         $req = TestData::fillRequest('DownloadPluginRequest', array('pluginAlias' => TestData::genFileName(12), 'sessionID' => $sessionID, 'side' => ucfirst($side)));
         $this->assertEquals(createFailRes(239), RequestSender::send($req));
     }
 }