/** * Test CRM_Contact_Form_Search_Custom_Group::templateFile() * Returns the path to the file as a string */ public function testTemplateFile() { $formValues = array(); $obj = new CRM_Contact_Form_Search_Custom_Group($formValues); $fileName = $obj->templateFile(); $this->assertTrue(is_string($fileName)); //FIXME: we would need to search the include path to do the following //$this->assertTrue( file_exists( $fileName ) ); }