/** * try to get initial lead with search function */ public function testGetUpdatedLead() { $this->testUpdateLead(); $filter = $this->_getFilter(TRUE); $leads = $this->_backend->search($filter); $this->assertEquals(1, count($leads)); }