public function testInstitutionJsonP() { print "\n Test: get a institution in jsonp ... "; $response = RequestResponse::GetCollectionOrInstitution(self::$client, BASE_URI_ . '/public/api/institutions/' . INSTITUTION_CODE . '.jsonp?callback=' . CALLBACK_NAME, 'application/json'); $this->AssertEquals(200, $response->getStatus(), $response->getMessage()); $json = $response->getBody(); $institution = RequestResponse::jsonP_decode_parameters($json, CALLBACK_NAME); $this->assertionsJsonInstitution($institution, 0); }