public static function eq($value, $value2, $message = null, $propertyPath = null)
{
if ($value != $value2) {
$message = sprintf($message ?: 'Value "%s" does not equal expected value "%s".', static::stringify($value), static::stringify($value2));
throw static::createException($value, $message, static::INVALID_EQ, $propertyPath, array('expected' => $value2));
}
return true;
}