_entity = 'case'; parent::setUp(); $this->_cid = $this->individualCreate(); $this->_case = $this->callAPISuccess('case', 'create', array( 'case_type_id' => $this->caseTypeId, 'subject' => __CLASS__, 'contact_id' => $this->_cid, )); } public function testCaseContactGet() { $result = $this->callAPIAndDocument('CaseContact', 'get', array( 'contact_id' => $this->_cid, ), __FUNCTION__, __FILE__); $this->assertEquals($this->_case['id'], $result['id']); } }