2 require_once 'CiviTest/CiviCaseTestCase.php';
5 * Class CRM_Case_PseudoConstantTest
7 class CRM_Case_PseudoConstantTest
extends CiviCaseTestCase
{
9 function testCaseType() {
10 CRM_Core_PseudoConstant
::flush();
11 $caseTypes = CRM_Case_PseudoConstant
::caseType();
12 $expectedTypes = array(
13 1 => 'Housing Support',
14 2 => 'Adult Day Care Referral',
16 $this->assertEquals($expectedTypes, $caseTypes);