/** * try to get count of leads */ public function testGetCountOfLeads() { $lead = $this->testCreateLead(); $filter = $this->_getFilter(TRUE); $count = $this->_backend->searchCount($filter); $this->assertEquals(1, $count); }