Project

General

Profile

1
<?php
2

    
3
/*
4
 * This file is part of the Predis package.
5
 *
6
 * (c) Daniele Alessandri <suppakilla@gmail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

    
12
namespace Predis\Cluster\Distribution;
13

    
14
use PredisTestCase;
15

    
16
/**
17
 * @todo Not really useful right now.
18
 */
19
class EmptyRingExceptionTest extends PredisTestCase
20
{
21
    /**
22
     * @group disconnected
23
     */
24
    public function testExceptionMessage()
25
    {
26
        $message = 'Empty Ring';
27
        $this->setExpectedException('Predis\Cluster\Distribution\EmptyRingException', $message);
28

    
29
        throw new EmptyRingException($message);
30
    }
31
}
(1-1/3)