/**
* Run test method
*/
public function run()
{
try {
$method = $this->_validateMethodName();
/**
* Example
*
* $this->_api->product()->apiList()
* $this->_api->order()->apiAdd()
*/
$result = call_user_func(array(call_user_func(array($this->_api, $method['section'])), $method['method']), TestData::data($method));
//View result
var_dump($result);
} catch (Exception $e) {
echo "#" . $e->getCode() . " " . $e->getMessage() . "\n";
}
}