PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider
class PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider (View source)
Provides human readable messages for each JSON error.
Methods
static string
determineJsonError(string $error, string $prefix = '')
Translates JSON error to a human readable string.
static string
translateTypeToPrefix(string $type)
Translates a given type to a human readable message prefix.