public function testFlushAll()
 {
     $res = $this->cache->flushAll();
     $this->assertTrue($res);
 }
 /**
  * Constructor.
  *
  * @param RouterInterface $router  A router instance
  * @param string          $token   A token to clear the related cache
  * @param string          $prefix  A prefix to avoid clash between instances
  * @param array           $servers An array of servers
  * @param array           $timeout An array of timeout options
  */
 public function __construct(RouterInterface $router, $token, $prefix, array $servers, array $timeout = array())
 {
     parent::__construct(null, $prefix, $servers, $timeout);
     $this->router = $router;
     $this->token = $token;
 }