Example #1
0
 function testCantMapToCmdObject()
 {
     $input = new lmbCliInput();
     $output = new lmbCliResponse();
     $output->setVerbose(false);
     $input->read(array('foo.php', 'foo'));
     $runner = new lmbCliRunner($input, $output);
     $runner->returnOnExit();
     try {
         $runner->execute('/Bar.class.php');
         $this->assertTrue(false);
     } catch (lmbException $e) {
     }
 }
Example #2
0
 protected function _error($msg)
 {
     $this->output->write($msg);
     exit(1);
 }