/** * @group disconnected * @expectedException Predis\NotSupportedException * @expectedExceptionMessage The method Predis\Connection\WebdisConnection::pushInitCommand() is not supported */ public function testPushingInitCommandsIsNotSupported() { $connection = new WebdisConnection($this->getParameters()); $connection->pushInitCommand($this->getProfile()->createCommand('ping')); }