protected function registerPhpredisClient()
{
$this->phpredisClient = $this->getMockBuilder('\\Snc\\RedisBundle\\Client\\Phpredis\\Client')->disableOriginalConstructor()->getMock();
$this->container->expects($this->once())->method('get')->will($this->returnValue($this->phpredisClient));
}