public function testDeletingSessionData() { $this->redis->expects($this->once())->method('del')->with($this->equalTo('session:_symfony')); $handler = new RedisSessionHandler($this->redis, array(), 'session:', false); $handler->destroy('_symfony'); }