Completed
Pull Request — 3.x (#336)
by
unknown
02:15
created

AbstractRabbitMQQueueStatusProviderTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 8 1
testGetApiQueueStatus() 0 1 ?
1
<?php
2
3
/*
4
 * This file is part of the Sonata Project package.
5
 *
6
 * (c) Thomas Rabaix <[email protected]>
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 Sonata\NotificationBundle\Service;
13
14
use PHPUnit\Framework\TestCase;
15
16
abstract class AbstractRabbitMQQueueStatusProviderTest extends TestCase
17
{
18
    protected $settings = [];
19
20
    protected function setUp()
21
    {
22
        $this->settings = [
23
            'console_url' => 'http://localhost:15672/api/',
24
            'user' => 'guest',
25
            'pass' => 'guest',
26
        ];
27
    }
28
29
    abstract public function testGetApiQueueStatus();
30
}
31