@@ -431,4 +452,49 @@ protected function assertResponseBody($expected, $message = '', $group = 'REST R
return$this->assertIdentical($expected,$this->responseBody,$message?$message:strtr('Response body @expected (expected) is equal to @response (actual).',array('@expected'=>var_export($expected,TRUE),'@response'=>var_export($this->responseBody,TRUE))),$group);
}
/**
* Checks if an entity type id is for a Config Entity.
*
* @param string $entity_type_id
* The entity type ID to check.
*
* @return bool
* TRUE if the entity is a Config Entity, FALSE otherwise.
$expected_message=Json::encode(['message'=>'The "'.$entity_type.'" parameter was not converted for the path "'.$path.'" (route name: "rest.entity.'.$entity_type.'.GET.hal_json")']);
$this->assertIdentical($expected_message,$response,'Response message is correct.');