コード例 #1
0
 public function emptyString()
 {
     Unmarshaller::unmarshal('', 'net.xp_framework.unittest.xml.DialogType');
 }
コード例 #2
0
 /**
  * Invoke a method on Flickr, the response is being deserialized
  * into the given expected class.
  *
  * @param   string method
  * @param   mixed args[]
  * @param   string expect
  * @return  Object
  */
 public function invokeExpecting($method, $args, $expect)
 {
     $arguments = $this->signArray(array_merge($args, array('method' => $method)));
     $res = parent::invoke($method, $arguments);
     $return = Unmarshaller::unmarshal($res[0], $expect);
     $return->setClient($this);
     return $return;
 }