Esempio n. 1
0
 public function testSetOptionsFailure()
 {
     $out = new ezcConsoleOutput();
     $bar = new ezcConsoleProgressbar($out, 10);
     try {
         $bar->setOptions(23);
     } catch (ezcBaseValueException $e) {
         return;
     }
     $this->fail("Exeception not thrown on invalid parameter for setOptions().");
 }