예제 #1
0
 /**
  * Convenience wrapping for /lithium/console/Command and 
  * lihtium\test\Unit class for easy assertions and
  * command-line input/output and formatting.
  *
  * @param string $name 
  * @param string $arguments 
  * @return mixed
  */
 public function __call($name, $arguments)
 {
     if (method_exists($this->_command, $name)) {
         return $this->_command->invokeMethod($name, $arguments);
     } else {
         return $this->_unit->invokeMethod($name, $arguments);
     }
 }