diff --git a/tests/PHPUnit/RedisCommandConstraint.php b/tests/PHPUnit/RedisCommandConstraint.php
index <HASH>..<HASH> 100644
--- a/tests/PHPUnit/RedisCommandConstraint.php
+++ b/tests/PHPUnit/RedisCommandConstraint.php
@@ -10,6 +10,7 @@
  */
 
 use Predis\Command\CommandInterface;
+use SebastianBergmann\Exporter\Exporter;
 
 /**
  * Constraint that verifies a redis command.
@@ -72,6 +73,7 @@ class RedisCommandConstraint extends \PHPUnit_Framework_Constraint
      */
     public function toString()
     {
+        $exporter = new Exporter();
         $string = 'is a Redis command';
 
         if ($this->commandID) {
@@ -80,7 +82,7 @@ class RedisCommandConstraint extends \PHPUnit_Framework_Constraint
 
         if ($this->arguments) {
             $string .= " and the following arguments:\n\n";
-            $string .= \PHPUnit_Util_Type::export($this->arguments);
+            $string .= $exporter->export($this->arguments);
         }
 
         return $string;
[tests] Fix assertion.

PHPUnit_Util_Type::export() has been removed a while ago...