1 | <?php |
||
12 | class RedisMessagePublisherTest extends \PHPUnit_Framework_TestCase |
||
13 | { |
||
14 | /** |
||
15 | * @var RedisMessagePublisher |
||
16 | */ |
||
17 | protected $publisher; |
||
18 | |||
19 | protected $channel; |
||
20 | protected $queueName; |
||
21 | |||
22 | /** |
||
23 | * Set up the test |
||
24 | */ |
||
25 | public function setUp() |
||
32 | |||
33 | /** |
||
34 | * Test instance |
||
35 | */ |
||
36 | public function testInstance() |
||
40 | |||
41 | /** |
||
42 | * Test get exchange name |
||
43 | */ |
||
44 | public function testGetExchangeName() |
||
48 | |||
49 | /** |
||
50 | * Test publish |
||
51 | */ |
||
52 | public function testPublish() |
||
61 | } |
||
62 |