Completed
Push — develop ( a9d829...037456 )
by Jens
04:55 queued 43s
created

HandlebarsBundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 4
dl 0
loc 10
rs 10
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
7
namespace JaySDe\HandlebarsBundle\Tests;
8
9
10
use JaySDe\HandlebarsBundle\DependencyInjection\Compiler\HelperPass;
11
use JaySDe\HandlebarsBundle\HandlebarsBundle;
12
13
class HandlebarsBundleTest extends \PHPUnit_Framework_TestCase
14
{
15
    public function testBuild()
16
    {
17
        $observer = $this->prophesize('\Symfony\Component\DependencyInjection\ContainerBuilder');
18
        $observer->addCompilerPass(new HelperPass())->shouldBecalled();
19
        $bundle = new HandlebarsBundle();
20
        $bundle->build($observer->reveal());
21
    }
22
}
23