Files
predis/tests/Predis/Cluster/Distributor/EmptyRingExceptionTest.php
T
2014-07-27 21:57:40 +02:00

30 lines
626 B
PHP

<?php
/*
* This file is part of the Predis package.
*
* (c) Daniele Alessandri <suppakilla@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Predis\Cluster\Distributor;
use PredisTestCase;
/**
* @todo Not really useful right now.
*/
class EmptyRingExceptionTest extends PredisTestCase
{
/**
* @group disconnected
* @expectedException \Predis\Cluster\Distributor\EmptyRingException
*/
public function testExceptionMessage()
{
throw new EmptyRingException('Empty Ring');
}
}