Example #1
0
 /**
  * @expectedException \RuntimeException
  */
 public function testOnAppDownloadedMergeBinRunFailedInstallMonitor()
 {
     if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
         $this->markTestSkipped('This test is only for OS Windows');
     }
     $this->zip->expects($this->once())->method('open')->will($this->returnValue(false));
     $this->listener->onAppDownloadedMergeBinRun($this->event);
     // test
 }