Completed
Push — master ( e91b2f...f5a28e )
by Phil
02:51
created

ResqueBundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testResqueBundleinit() 0 6 1
1
<?php
2
/**
3
 * @author    Phil Taylor <[email protected]>
4
 * @source    https://github.com/PhilETaylor/
5
 * @copyright Copyright (C) 2016 Blue Flame IT Ltd. All rights reserved.
6
 */
7
8
namespace ResqueBundle\Resque;
9
10
use PHPUnit\Framework\TestCase;
11
12
13
class ResqueBundleTest extends TestCase
14
{
15
16
    /**
17
     * Test if the class is init correctly
18
     */
19
    public function testResqueBundleinit()
20
    {
21
        $class = new ResqueBundle();
22
        $this->assertEquals('ResqueBundle\Resque\ResqueBundle', get_class($class));
23
        $this->assertInstanceOf('Symfony\Component\HttpKernel\Bundle\Bundle', $class);
24
    }
25
}
26