/**
  * @covers josegonzalez\Queuesadilla\Engine\RedisEngine::__construct
  */
 public function testConstruct()
 {
     $Engine = new RedisEngine($this->Logger, []);
     $this->assertNotNull($Engine->connection());
     $Engine = new RedisEngine($this->Logger, $this->url);
     $this->assertNotNull($Engine->connection());
     $Engine = new RedisEngine($this->Logger, $this->config);
     $this->assertNotNull($Engine->connection());
 }
 /**
  * {@inheritDoc}
  */
 public function connect()
 {
     try {
         $return = parent::connect();
     } catch (Exception $e) {
         return false;
     }
     return !($return === false);
 }