public function testContentTypeLoadFieldDefinitionList($contentTypeHref) { $response = $this->sendHttpRequest($this->createHttpRequest('GET', "{$contentTypeHref}/fieldDefinitions", '', 'FieldDefinitionList+json')); self::assertHttpResponseCodeEquals($response, 200); $data = json_decode($response->getContent(), true); return $data['FieldDefinitions']['FieldDefinition'][0]['_href']; }