public function testListName()
{
$params = new paramsGetMultipleLeads();
$leadSel = new StaticListSelector();
$leadSel->staticListName = "TESTList1";
$leadSelSoap = new SoapVar($leadSel, SOAP_ENC_OBJECT, get_class($leadSel), "http://www.marketo.com/mktows/");
$params->leadSelector = $leadSelSoap;
$params->batchSize = 100;
$attrs = null;
$attrs = array();
$attrs = array("Id", "Email", "FirstName", "LastName");
$aryOAttrs = new ArrayOfString();
$aryOAttrs->stringItem = $attrs;
$params->includeAttributes = $aryOAttrs;
$authHdr = apiClientUtil::getAuthenticationHeader(self::$wsUser, null, null, $params, __METHOD__);
$client = $this->getSoapClient();
$success = $client->__soapCall('getMultipleLeads', array($params), null, $authHdr);
$result = $success->result;
testLog("Return count: " . $result->returnCount . ", remaining count: " . $result->remainingCount);
if (empty($result->returnCount)) {
$this->fail("Bad return count '".$result->returnCount."'");
}
}